This question is locked. New answers and comments are not allowed.
I have a image, I wish to place it on radmap (The effect which just like this url:
http://maps.google.com/maps/mapplets?moduleurl=http://code.google.com/apis/maps/documentation/mapplets/examples/groundoverlay-simple.xml
and the details on
https://developers.google.com/maps/documentation/mapplets/overlays?hl=eng
Ground Overlays
),
How can I do?
http://maps.google.com/maps/mapplets?moduleurl=http://code.google.com/apis/maps/documentation/mapplets/examples/groundoverlay-simple.xml
and the details on
https://developers.google.com/maps/documentation/mapplets/overlays?hl=eng
Ground Overlays
Polygons are useful overlays to represent arbitrarily-sized areas, but they
cannot display images. If you have an image that you wish to place on a map, you
can use a GGroundOverlay
object. The constructor for a
GGroundOverlay
takes a URL of an image and the
GLatLngBounds
of the image as parameters.
The following example places an antique map of Newark, NJ on the map as an overlay:
var map = new GMap2();
map.setCenter(new GLatLng(40.740, -74.18), 12);
// ground overlay
var boundaries = new GLatLngBounds(new GLatLng(40.716216,-74.213393), new GLatLng(40.765641,-74.139235));
var oldmap = new GGroundOverlay("http://www.lib.utexas.edu/maps/historical/newark_nj_1922.jpg", boundaries);
map.addOverlay(oldmap);
),
How can I do?