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
mantifly
changed the title
[BUG] <map init config parameter "dragEnabled" set false not work>
[BUG] map init config parameter "dragEnabled" set false not work
Jul 4, 2024
Platforms
android
Version of flutter maplibre_gl
0.20.0
Bug Description
map init config parameter "dragEnabled" set false not work
Steps to Reproduce
just config dragEnabled: false
Expected Results
when dragEnabled set false, the map should not be draggable
Actual Results
when dragEnabled set false, the map still can drag
Code Sample
//example demo full_map.dart, add last line code "dragEnabled: false"
MapLibreMap(
onMapCreated: _onMapCreated,
initialCameraPosition: const CameraPosition(target: LatLng(0.0, 0.0)),
onStyleLoadedCallback: _onStyleLoadedCallback,
dragEnabled: false,
)
The text was updated successfully, but these errors were encountered: