Hi Nick, Your example page is exactly what I need! :) I looked at the source code of your page, but that javascript there is a bit too complex for me :) Also I dont think I need it all.
Do you have a code snippet (not sure how or where to use the code snippet you provide in your post) that catches the click event and returns the longitude and latitude? Thats basically all I need for now! Thanks again! On Sep 22, 11:13 am, Niklasro <[email protected]> wrote: > On Sep 21, 11:46 am, Peter <[email protected]> wrote:> I want users to be > able to click on a worldmap. Then, when theyu click > > I get the longitude and latitude of the clicked location and store > > them in two textboxes... > > Where can I find how to do that? > > Dear Peter > You're most welcome look at my example upgrading to API > 3www.koolbusiness.com/ai > It finds longitude, latitude and also location name implementing > javascript like > place=response.Placemark[0]; > point=new > GLatLng(place.Point.coordinates[1],place.Point.coordinates[0]); > I hope similar works for you > Regards > Nick Rosencrantz -- You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" 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-js-api-v3?hl=en.
