ericnewton76 / gmaps-api-net

C# google maps api interface for interacting with the backend web services for Google Maps

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Support Encoded Polylines in Location

ipadmini22 opened this issue · comments

Hi,
I would very welcome the addition of the option to create a Location from Encoded Polyline, since (especially for planning bigger routes) dramatically reduces URL length.

How about that?

Sounds good. I believe just have to create a type that implements ILocation so it can be fed into request.Address property.

Awesome! Yes this is what I can confirm throughout my testings. Only "downside" or thing to keep in mind is that origin and destination may not be encoded places, at least from what I experienced.
So maybe we should create a type from LatLng which only adds the encoded type within waypoints.