map-location-control

0.0.5 • Public • Published

NPM version Build Status Dependency Status

map-location-control

Geo-location control that can be used with vector map renderer: a simplified version of the GeoLocationControl implemented in mapbox-gl-js

Install

$ npm install --save map-location-control

Usage

var geoLocationControl = require('map-location-control');

var glc = geoLocationControl({
  maxWidth: 150,
  unit: 'imperial'
 });

 map.addControl(glc);

License

MIT © Damian Krzeminski

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.0.5
    2
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.0.5
    2
  • 0.0.4
    0
  • 0.0.3
    0
  • 0.0.2
    0
  • 0.0.1
    0

Package Sidebar

Install

npm i map-location-control

Weekly Downloads

2

Version

0.0.5

License

MIT

Unpacked Size

4.51 kB

Total Files

4

Last publish

Collaborators

  • pirxpilot