Skip to content

Commit

Permalink
fix min max zoom for example app
Browse files Browse the repository at this point in the history
  • Loading branch information
josxha committed Feb 1, 2024
1 parent efd17fe commit d525855
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions example/lib/flutter_map_scalebar/page.dart
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ class FlutterMapScalebar extends StatelessWidget {
options: const MapOptions(
initialCenter: LatLng(48, 9),
initialZoom: 8,
minZoom: 0,
maxZoom: 24,
),
children: [
TileLayer(
Expand Down
1 change: 1 addition & 0 deletions flutter_map_scalebar/lib/src/scalebar.dart
Original file line number Diff line number Diff line change
Expand Up @@ -119,5 +119,6 @@ const _scale = <int>[
25,
10,
5,
2,
1,
];

0 comments on commit d525855

Please sign in to comment.