heremaps / maps-api-for-javascript-examples

Self-contained examples for Maps API for JavaScript v3.

Home Page:https://developer.here.com/javascript-apis/documentation/v3/maps

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Question: Is there another heremaps library that can create geo and wkt-strings?

timidak opened this issue Β· comments

For our application we now use the fleet.ls.hereapi for geofencing, thanks to you all of you for helping us out with it. πŸ˜„
The last issue we ran into is that, we cannot use the JavaScript API and need a tool, that creates a geo and than the wkt string from it like:

const rect = new H.geo.Rect(lat, long, lat2, long2);
const wkt = rect.toString();

Is there a npm package from here-maps that has this functionality? Or is there a standard or library we could use?

Thanks you!

Found a way! Thank you!