Skip to content

geolocation

andy.rothwell edited this page Apr 4, 2019 · 4 revisions

geolocation Configuration

Used to enable geolocation for location of the person using the app.

geolocation: {
  enabled: false,
  icon: ['far', 'dot-circle']
},

This will place the Location Control in the bottomright control corner, and, if clicked, will put a Circle Marker on the map which will follow the user's location.

Clone this wiki locally