Socket
Socket
Sign inDemoInstall

geo-map

Package Overview
Dependencies
21
Maintainers
6
Versions
24
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    geo-map

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


Version published
Weekly downloads
31
decreased by-40.38%
Maintainers
6
Install size
8.86 MB
Created
Weekly downloads
 

Readme

Source

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

FAQs

Last updated on 14 Oct 2020

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc