Skip to content

Commit

Permalink
add subdomain support to example
Browse files Browse the repository at this point in the history
  • Loading branch information
johnpryan committed Mar 2, 2018
1 parent 4d68c95 commit d39dfe2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion flutter_map_example/lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,8 @@ class HomePage extends StatelessWidget {
layers: [
new TileLayerOptions(
urlTemplate:
"https://tile.openstreetmap.org/{z}/{x}/{y}.png",
"https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png",
subdomains: ['a','b','c']
),
new MarkerLayerOptions(markers: markers)
],
Expand Down

0 comments on commit d39dfe2

Please sign in to comment.