Page 1 of 1

How to use Encoded Polyline Algorithm Format?

Posted: Tue Aug 04, 2020 2:23 pm
by Bernd Welter
Hi there,

how can I gather a routing polygon as Encoded Polyline Algorithm Format?
I'd like to use this format because it works fine and compact with Leaflet...

Thanks for your help,
Bernd

Re: How to use Encoded Polyline Algorithm Format?

Posted: Wed Aug 05, 2020 3:22 pm
by Bernd Welter
Cheers,

meanwhile I received some internal feedback about this topic...
Currently we offer the following so-called "EncodedGeometry"-types in our API:
  • KML
  • GeoJSON
  • Plain
  • WellKnownText
  • WellKnownBinary
Google's Encoded Polyline is not part of this list but from our perspective
  • there are many open source libraries you can use to transfer one of our formats into Encoded Polylines
  • you can simply use GeoJSON with leaflet
So much for now,
Bernd