maplibre / flutter-maplibre-gl

Customizable, performant and vendor-free vector and raster maps, flutter wrapper for maplibre-native and maplibre-gl-js (fork of flutter-mapbox-gl/maps)
https://pub.dev/packages/maplibre_gl
Other
228 stars 125 forks source link

[BUG] My location button not working on webkit based browsers #501

Open Turtle0601 opened 2 months ago

Turtle0601 commented 2 months ago

Platforms

web

Version of flutter maplibre_gl

latest

Bug Description

We using the libary for web deployment, trying to enable userlocation (myLocation) we find an issue with webkit based browsers safari-macos, safari-ios, firefox-ios, chrome-ios.

Steps to Reproduce

Expected Results

(actual behavior on chrome/firefox non-webkit browsers)

Actual Results

Code Sample

We can reproduce this issue with every mapLibreMap-widget and the following settings:

myLocationEnabled: true,
myLocationRenderMode: MyLocationRenderMode.compass,
myLocationTrackingMode: MyLocationTrackingMode.tracking,
matthiaszarzecki commented 2 months ago

Yes, I'd like this updated too! :)