Thanks Andrew, I never knew this tool existed and the code worked beautifully.
Regards, Barton. On Aug 4, 11:37 am, Andrew Leach <[email protected]> wrote: > On Aug 3, 8:40 am,Barton<[email protected]> wrote: > > > > > I'm creating a custom map with a plan of a village, i.e. the map is > > not mapped on-top of any mapped location in Google Maps, with a list > > of services relating to place-markers. > > > My question is... How can I find the location point, i.e. lat lon > > values, to use in the javascript or KML files please, is there a > > utility or method to try? > > I think you have your custom tiles and the map works, but you now want > to know where the API thinks various features are within your map. > > Something > likehttp://code.google.com/apis/ajax/playground/?exp=maps#map_event_argum... > will allow you to click on the map and get the location BUT it needs a > small change: > > In line 9 of the example, this > map.fromLatLngToDivPixel(latlng) > needs to be > latlng.toString() > in order that you get geographic coordinates rather than screen > coords. > > Andrew --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
