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

Unable to Reset cameraTargetBounds to Default in MaplibreMap Constructor #400

Open project-dev opened 1 month ago

project-dev commented 1 month ago

I have a question about the cameraTargetBounds parameter in the constructor of the MaplibreMap class. Once a value is set for this parameter, resetting it to the default value CameraTargetBounds. unbounded does not seem to work. Is this behavior intentional? Is there a workaround for this? What I want to achieve is to reset the set bounds.

Thank you.