@@ -362,17 +362,20 @@ class _TileLayerState extends State<TileLayer> with TickerProviderStateMixin {
362362 false && (kReleaseMode || kProfileMode) && ! _unblockOpenStreetMapUrl;
363363 void _warnOpenStreetMapUrl () {
364364 if (! _isOpenStreetMapUrl || ! kDebugMode || _unblockOpenStreetMapUrl) return ;
365- Logger (printer: PrettyPrinter (methodCount: 0 )).w (
365+ Logger (printer: PrettyPrinter (methodCount: 0 )).e (
366366 '''\x 1B[1m\x 1B[3mflutter_map\x 1B[0m
367367flutter_map wants to help keep map data available for everyone.
368368We use the public OpenStreetMap tile servers in our code examples & demo app,
369369but they are NOT free to use by everyone.
370+ In an upcoming non-major release, requests to 'tile.openstreetmap.org' or
371+ 'tile.osm.org' will be blocked by default in release mode.
370372Please review https://operations.osmfoundation.org/policies/tiles/ to see if
371373your project is compliant with their Tile Usage Policy.
372374For more information, see https://docs.fleaflet.dev/tile-servers/using-openstreetmap-direct.
373375It describes in additional detail why we feel it is important to do this, how
374- you can disable this warning, the timeframes for this new policy, and how we're
375- working to reduce requests without any extra work from you.''' ,
376+ you can unblock the tile servers if your use-case is acceptable, the timeframes
377+ for this new policy, and how we're working to reduce requests without any extra
378+ work from you.''' ,
376379 );
377380 }
378381
0 commit comments