Merge pull request #2575 from Vespe-r/main

fix: Add app id to TileLayer user agent
This commit is contained in:
Krille-chan 2026-02-17 19:35:07 +01:00 committed by GitHub
commit e5000b83dd
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -3,6 +3,8 @@ import 'package:flutter/material.dart';
import 'package:flutter_map/flutter_map.dart';
import 'package:latlong2/latlong.dart';
import '../../../config/app_config.dart';
class MapBubble extends StatelessWidget {
final double latitude;
final double longitude;
@ -43,6 +45,7 @@ class MapBubble extends StatelessWidget {
minZoom: 0,
urlTemplate:
'https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png',
userAgentPackageName: AppConfig.appId,
subdomains: const ['a', 'b', 'c'],
),
MarkerLayer(