Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] map init config parameter "dragEnabled" set false not work #474

Open
mantifly opened this issue Jul 4, 2024 · 0 comments
Open

[BUG] map init config parameter "dragEnabled" set false not work #474

mantifly opened this issue Jul 4, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@mantifly
Copy link

mantifly commented 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,
)

@mantifly mantifly added the bug Something isn't working label Jul 4, 2024
@mantifly 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant