Try this, http://gmaps-samples.googlecode.com/svn/trunk/groundoverlay/groundoverlaysizer.html
On Apr 13, 6:59 am, Lumbee <[email protected]> wrote: > ...hey guys, I'm stuck on finding the coordinates for a custom map. I > want to use this image... > > http://www.asheville-outdoors.com/juicy2/maps/AshevilleBikeRoutes.jpg > > ...and heres what it looks like in the map... > > http://www.asheville-outdoors.com/juicy2/maps/groundoverlay-simple.html > > ...I basically modified this google example to create my map... > > http://code.google.com/apis/maps/documentation/examples/groundoverlay... > > ...I've went through this tutorial..http://econym.org.uk/gmap/custommap.htm > > ...I'm trying to use this page to get the coordinates... > > http://open.atlas.free.fr/GMapsTransparenciesImgOver.php > > ...once I move the map into place I'm using this info thats at the > bottom of the page for the top left and bott. right coor. > > Additional info: > top left lat,lng : > bottom right lat,lng : > > ...heres the basic code I'm using... > > var map = new GMap2(document.getElementById("map_canvas")); > 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.setUIToDefault(); > map.addOverlay(oldmap); > > ...I'm OK with the 'setCenter' coordinates. For the GLatLngBounds > function am I correct that the first argument is the upperleft > boundary, and the 2nd argument is the lower right boundary? > > OK...I think thats it. So assuming everything I'm listed above is > correct, what tool can I use to get accurate coordinates for my custom > map? -- You received this message because you are subscribed to the Google Groups "Google Maps API" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-maps-api?hl=en.
