https://github.com/limistah/here-map-js
Includes https://www.here.com/ JS files as scripts in the header of the page
https://github.com/limistah/here-map-js
heremaps heremaps-js map maps
Last synced: 2 months ago
JSON representation
Includes https://www.here.com/ JS files as scripts in the header of the page
- Host: GitHub
- URL: https://github.com/limistah/here-map-js
- Owner: limistah
- Created: 2019-01-08T20:18:21.000Z (over 6 years ago)
- Default Branch: main
- Last Pushed: 2023-12-21T08:28:48.000Z (over 1 year ago)
- Last Synced: 2025-04-30T17:09:39.032Z (2 months ago)
- Topics: heremaps, heremaps-js, map, maps
- Language: JavaScript
- Size: 78.1 KB
- Stars: 1
- Watchers: 0
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.MD
Awesome Lists containing this project
README
# Here Map JS
JavaScript scripts loader for [Here Map](https://www.here.com/).
## Installation
```js
npm i @limistah/here-map-js
```## Usage
```js
import hereMapJS from "@limistah/here-map-js";// Promise-like
hereMapJS({ interactive: true }).then((result) => {
console.log(result); // true if it went through
});// Async/Await
const loaded = await scriptLoader();
console.log(loaded); // true if it went through
```## Docs
### `hereMapJS(options)` : boolean
#### options properties
##### `options.interactive`
To load the map events scripts. Default `false`
##### `options.includeUI`
To load the UI scripts. Default `false`
##### `options.version || options.VERSION`
Version to be loaded. Default v3/3.0
##### `options.includePlaces || options.includePlaces`
To load `mapsjs-places.js` module. Default `false`