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

Is there HERE Maps JS SDK available as repo?

vadym1930 opened this issue · comments

Can't find corresponding repo. Just wondering whether it is available for forking?

Can I fork repo with the, for example, the next source? https://js.api.here.com/v3/3.1/mapsjs-core.js

Unfortunately HERE Maps for JavaScript API is not open sourced.

Is there an npm package available? We need geofencing for our TypeScript-Application and cannot find a suitable package. Is there a package for HERE Maps for JavaScript API?

@timidak HERE Maps API for JavaScript is not available as an NPM package yet.

You can try to use the Fleet Telematics Geofencing API. There is a proxy class to communicate with that service from within the API. Check H.service.extension.geofencing.Service.

@germanz
Are you planning to release a npm package for the JavaScript API?

The api looks good 👍 Thank you!
Is there another library or a standard for creating a polygon for the geometry of the fence? That would be the last thing we need. Thank you for your help!

@timidak You might want to see the example HERE.

Thank you @vadym1930, but I need another way to create such polygons. We cannot use the JavaScript API since it is not available as a npm package. Is there another way than the JS api?

@timidak sorry for the delay, it's been a crazy month. Honestly, I didn't get what you mean, if you are using HERE maps it's reasonable to me using their API for creating polygons if not, well you could use any lib you'd like for such a thing.
Why you can't use CDNs though?

@timidak now you can install the library using npm.

npm config set @here:registry https://repo.platform.here.com/artifactory/api/npm/maps-api-for-javascript/
npm i @here/maps-api-for-javascript

More information here:
https://developer.here.com/documentation/maps/3.1.16.1/dev_guide/topics/get-started-bundling.html