Add MapLibre geolocate control
Arguments
- map
A maplamina widget created by
maplamina().- position
Control position:
"topleft","topright","bottomleft","bottomright".- track_user_location
Logical; keep tracking after initial locate.
- ...
Named options passed through to the underlying MapLibre control.
Examples
maplamina() |>
add_geolocate()