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
185 stars 106 forks source link

Fix #437 toggling myLocationEnabled in example #457

Closed kuhnroyal closed 6 days ago

kuhnroyal commented 3 weeks ago

myLocationEnabled can only be disabled for MyLocationRenderMode.normal - it is required for gps/compass. This change disables the appropriate buttons and actually passes the current render mode to the map widget. Fixes #437

kuhnroyal commented 1 week ago

Sounds good, this PR just fixes the example not working.