Is it possible to show an image in the map behind the road map (from google).
if not is it possible to load a transparent image (png)?
thanks in advance.
sebastien
Is it possible to show an image in the map behind the road map (from google).
if not is it possible to load a transparent image (png)?
thanks in advance.
sebastien
Sebastien,
The Google maps are cached in their server which we cannot handle much. It doesn't support transparency; so you can’t show image behind GoogleOverlay.
On the other hand, GoogleOverlay is base overlay as defatult, it's meaningless to add overlay behind it for it's not transparency.
In your case we recommend using GdiPlusRasterLayer; please try the following code.// extent of your image in world coordinate.
RectangleShape imageExtent=new RectangleShape (-180,90,180,-90);
GdiPlusRasterLayer gdiPlusRasterlayer = new GdiPlusRasterLayer("[Your image path]", imageExtent);
If you have any more questions please let me know.
Thanks,
Howard