Skip to content
Snippets Groups Projects
Commit b61033d0 authored by Sara Savanovic Djordjevic's avatar Sara Savanovic Djordjevic
Browse files

add: working reset zoom

parent 83a4f615
No related branches found
No related tags found
1 merge request!19Clhp map, license agreement
...@@ -40,7 +40,7 @@ class ChoroplethMapState extends State<ChoroplethMap> { ...@@ -40,7 +40,7 @@ class ChoroplethMapState extends State<ChoroplethMap> {
void resetZoom() { void resetZoom() {
setState(() { setState(() {
_choroplethMapKey.currentState?.resetZoom(); _zoomPanBehavior.zoomLevel = 1;
}); });
} }
......
No preview for this file type
No preview for this file type
No preview for this file type
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment