diff --git a/app/lib/widgets/choropleth_map.dart b/app/lib/widgets/choropleth_map.dart index 1d4c9542d38ae262f674e7e66545633104569872..b9a4ffbdd68d4a66dd2dd22486b561f770308962 100644 --- a/app/lib/widgets/choropleth_map.dart +++ b/app/lib/widgets/choropleth_map.dart @@ -40,7 +40,7 @@ class ChoroplethMapState extends State<ChoroplethMap> { void resetZoom() { setState(() { - _choroplethMapKey.currentState?.resetZoom(); + _zoomPanBehavior.zoomLevel = 1; }); } diff --git a/server/map_handler/__pycache__/add_new_lake.cpython-311.pyc b/server/map_handler/__pycache__/add_new_lake.cpython-311.pyc index c878ff677f5cd3cd0a5608cea5b5eb99f768f298..e231368211a312463860a40e33bfc1da71d4b5b2 100644 Binary files a/server/map_handler/__pycache__/add_new_lake.cpython-311.pyc and b/server/map_handler/__pycache__/add_new_lake.cpython-311.pyc differ diff --git a/server/map_handler/__pycache__/get_lake_relation.cpython-311.pyc b/server/map_handler/__pycache__/get_lake_relation.cpython-311.pyc index ac9abc72b06341d743f138c326c6ab08aab57679..c8c7088c574df7cc19b270f6191a733072bb0b3f 100644 Binary files a/server/map_handler/__pycache__/get_lake_relation.cpython-311.pyc and b/server/map_handler/__pycache__/get_lake_relation.cpython-311.pyc differ diff --git a/server/map_handler/__pycache__/update_measurements.cpython-311.pyc b/server/map_handler/__pycache__/update_measurements.cpython-311.pyc index 801383752939945e212637b04e598c1ae5883cd2..a3da874aca265bc552692588731c24e014c03db3 100644 Binary files a/server/map_handler/__pycache__/update_measurements.cpython-311.pyc and b/server/map_handler/__pycache__/update_measurements.cpython-311.pyc differ