Wasn't it fmapper who wrote:
>So, should I use GetPointsAtDistance() for retrieve all the coordinates
>points of the route? Is this the best way?
>
>Now, I need all the coordinates points of the route in an array, after
>I could solve the geocoding's problem finding an alternative solution
>to the postal-code.

Javascript can't hold an infinite number of points in an array, and if
it could, it would take an infinite amount of time to process them.

GetPointsAtDistance() returns an array of points that are a specified
distance apart. E.g. GetPointsAtDistance(1000) returns an array of
points that are 1000 metres apart.

That may well be sufficient to find all the postcodes that the route
goes through. For most countries, the reverse geocoder doesn't return
"small" postcode regions:
  For the USA it shows 5-digit zip codes
  For Canada it shows only the first half
  For the UK it shows the first half and the first digit of the second
     half

-- 
Mike Williams
http://econym.org.uk/gmap



--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to