On Nov 24, 2:57 am, Esa <[email protected]> wrote:
> It seems that the current version of DirectionsService() returns both
> encoded polylines
>
>   .polyline.points
>   .polyline.levels
>
> and an array of LatLng objects
>
>   .lat_lngs
>
> That is great but I am sure that will be made optional.

Ben / Pamela,

Perhaps you could add a "populate" method to perform the LatLng
conversions on demand.  It could save A LOT of extra overhead for
something which may never be used.  I prefer to work with the raw
results directly.  Perhaps your polys could optionally accept an array
of {x:,y:} objects.

    www.polyarc.us/geocoder
    www.polyarc.us/routes

The V3 URL is much more complex than the V2 URL.  It limits the number
of waypoints one can specify.

--

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.


Reply via email to