geo-map
TypeScript icon, indicating that this package has built-in type declarations

1.14.0 • Public • Published

geo-map

A facade that abstracts over the Google and HERE map JavaScript SDKs

Install

npm install geo-map

Usage

import { GeoMap } from "geo-map";
 
async function main() {
  const element = document.getElementById('map');
 
  const map = GeoMap.create({
    config: {
      provder: Types.GeoMapProvider.Google,
      auth: {
        apiKey: '',
      }
    }
  });
 
  await map.mount(element, { center: { lat: 0, lng: 0 } })
}
 
main().catch(err => {
  throw err;
})

License

Apache License 2.0

Readme

Keywords

none

Package Sidebar

Install

npm i geo-map

Weekly Downloads

52

Version

1.14.0

License

AFL-2.0

Unpacked Size

684 kB

Total Files

258

Last publish

Collaborators

  • marionebl
  • knisterpeter
  • fastandfearless
  • marric
  • s2geohem
  • kollode