- Issue created by @tobyfu
- First commit to issue fork.
- Status changed to Fixed
3 days ago 7:39pm 13 September 2024 - 🇩🇪Germany ChristianAdamski Berlin, Germany
Replaced with generic approach in 4.x.
For 3.x please provide patch.
When Client Location Indicator is enabled in leaflet map features no client location indicator is shown.
Set up a view with format Geolocation CommonMap using leaflet as the map provider and enable "Client Location Indicator" under settings/leaflet-settings/map-features - when viewing the map even once the navigator geolocation has been retrieved the indicator will not be shown.
I can see the issue in xdebug of MapFeatureFrontendBase.php as the library it attaches is "mapfeatures.leaflet_client_location_indicator" however the library set in geolocation_leaflet.libraries.yml is named "mapfeatures.client_location_indicator"
My suggestion is to just rename the library in geolocation_leaflet.libraries.yml but there may well be a better way someone more familiar with the code can see.
Fixed
4.0
Leaflet API
Replaced with generic approach in 4.x.
For 3.x please provide patch.