Geo-location control that can be used with vector map renderer: a simplified version of the GeoLocationControl implemented in mapbox-gl-js
$ npm install --save @mapwhit/location-controlimport locationControl = require('@mapwhit/location-control');
const mlc = locationControl();
map.addControl(mlc);
mlc.startTracking();MIT © Damian Krzeminski