JavaScript scripts loader for Here Map.
npm i @limistah/here-map-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
To load the map events scripts. Default false
To load the UI scripts. Default false
Version to be loaded. Default v3/3.0
To load mapsjs-places.js
module. Default false