I'm glad you found it. It's upgrading this week solving the problem more minimalistic even if it already works for you. Best regards
On Sep 22, 9:21 am, Peter <[email protected]> wrote: > 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.
