Last active
May 28, 2024 21:44
-
-
Save berkayoruc/55a30bc2ef44c24ee70526525ab35615 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Widget build(BuildContext context) { | |
return FlutterMap( | |
options: MapOptions( | |
initialCenter: LatLng(41, 29), | |
initialZoom: 8.0, | |
), | |
children: [ | |
TileLayer( | |
urlTemplate: "https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png", | |
subdomains: ['a', 'b', 'c'] | |
), | |
], | |
); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment