0.0.5 • Published 1 year ago

map-location-control v0.0.5

Weekly downloads
1
License
MIT
Repository
github
Last release
1 year ago

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

0.0.5

1 year ago

0.0.4

7 years ago

0.0.3

7 years ago

0.0.2

7 years ago

0.0.1

7 years ago