Merge branch 'MTRNord/map-improvements' into 'main'

feat: Restrict map zoom to tile server capabilities

See merge request famedly/fluffychat!776
This commit is contained in:
Krille Fear 2022-03-16 06:40:48 +00:00
commit 1d580a890d

View File

@ -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'],