Skip to content

Commit

Permalink
Remove subdomains from OSM urlTemplate
Browse files Browse the repository at this point in the history
Subdomains usage is deprecated: openstreetmap/operations#737
  • Loading branch information
eshfield authored Jan 7, 2024
1 parent d04731f commit 2fdcf56
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,7 @@ dependencies:
),
children: <Widget>[
TileLayer(
urlTemplate: 'https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png',
subdomains: const ['a', 'b', 'c'],
urlTemplate: 'https://tile.openstreetmap.org/{z}/{x}/{y}.png',
),
MarkerClusterLayerWidget(
options: MarkerClusterLayerOptions(
Expand Down

0 comments on commit 2fdcf56

Please sign in to comment.