Socket
Socket
Sign inDemoInstall

geo-map

Package Overview
Dependencies
13
Maintainers
3
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
27
decreased by-20.59%
Maintainers
3
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 04 Apr 2019

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