> So is there any JavaScript function or method by which i can get the > nearest LatLang value of lastpoint
Not built into the Maps API. You'd have to write some script to remember all the "lastpoints", perhapps by pushing them onto an array. Then, when you want to find which is the nearst (nearest to what?) then you can loop through the array calculating distances and test which is the nearest. -- You received this message because you are subscribed to the Google Groups "Google Maps API V2" 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.
