You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is there a way to customize the My Location button which appears on the map view's bottom right corner when MaplibreMap.myLocationEnabled is set to true? Or to create one from scratch which can interact with the map's location marker?
The text was updated successfully, but these errors were encountered:
I see. I also thougt that I could also make a button which uses the map's controller to turn on/off the 'my location' marker on the map without having the default button already displayed, but I don't see anything exposed on the controller which lets me do that. Is it possible to do it in the first place?
edit: added 'without having the default button already displayed'
I actually don't think that that's possible. If you find a way to do that with the maplibre native/JS libraries we could expose that functionality, but AFAIK (and as far as my quick research shows) it's not possible (though that doesn't have to mean it really isn't possible)
Is there a way to customize the My Location button which appears on the map view's bottom right corner when MaplibreMap.myLocationEnabled is set to
true
? Or to create one from scratch which can interact with the map's location marker?The text was updated successfully, but these errors were encountered: