feat: Restrict map zoom to tile server capabilities
This commit is contained in:
parent
8d14b67e27
commit
8cc5d2f0d2
1 changed files with 2 additions and 0 deletions
|
|
@ -37,6 +37,8 @@ class MapBubble extends StatelessWidget {
|
|||
),
|
||||
layers: [
|
||||
TileLayerOptions(
|
||||
maxZoom: 20,
|
||||
minZoom: 0,
|
||||
urlTemplate:
|
||||
'https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png',
|
||||
subdomains: ['a', 'b', 'c'],
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue