@mapwhit/location-control
v1.0.2
Published
Geolocation control that can be used with vector map renderer.
Downloads
27
Readme
@mapwhit/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 @mapwhit/location-controlUsage
import locationControl = require('@mapwhit/location-control');
const mlc = locationControl();
map.addControl(mlc);
mlc.startTracking();License
MIT © Damian Krzeminski
