mirror of
https://gitlab.com/famedly/fluffychat.git
synced 2024-12-25 06:52:35 +01:00
feat: Restrict map zoom to tile server capabilities
This commit is contained in:
parent
56b44eb717
commit
f1578490b5
@ -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…
Reference in New Issue
Block a user