Skip to content

Latest commit

 

History

33 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Here Map JS

JavaScript scripts loader for Here Map.

Installation

npm i @limistah/here-map-js

Usage

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

About

Includes https://www.here.com/ JS files as scripts in the header of the page

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages