fix: Add app id to TileLayer user agent
This commit is contained in:
parent
ecd13b7efc
commit
fe51d22b26
1 changed files with 3 additions and 0 deletions
|
|
@ -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(
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue