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
The attributionButtonPosition parameter in the options of the map is ignored when calling setState on the widget, the parameter is specified as following:
Press the floating action button in the code sample - the attribution button will move to the bottom right corner, instead of staying at the TopLeft position.
After calling setState() for the whole Scaffold page, attributionButtonPosition in MaplibreMap() object becomes equal default value, e.i. attributionButtonPosition==AttributionButtonPosition.BottomRight.
Platforms
web
Version of flutter maplibre_gl
0.18.0
Bug Description
The attributionButtonPosition parameter in the options of the map is ignored when calling setState on the widget, the parameter is specified as following:
The full project to reproduce the issue can be seen on the following repository: https://github.com/Linker-123/maplibre-attribution-issue
Steps to Reproduce
Press the floating action button in the code sample - the attribution button will move to the bottom right corner, instead of staying at the TopLeft position.
Expected Results
Expected behavior: attributionButtonPosition == AttributionButtonPosition.TopLeft
Actual Results
After calling setState() for the whole Scaffold page, attributionButtonPosition in MaplibreMap() object becomes equal default value, e.i. attributionButtonPosition==AttributionButtonPosition.BottomRight.
Code Sample
The text was updated successfully, but these errors were encountered: