Last active
May 28, 2024 21:47
-
-
Save berkayoruc/7d559b8d42df115eb5ece207f3a72fe7 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
FlutterMap( | |
options: MapOptions( | |
initialCenter: LatLng(41, 29), | |
initialZoom: 8.0, | |
), | |
children: [ | |
TileLayer( | |
urlTemplate: | |
"https://stamen-tiles.a.ssl.fastly.net/watercolor/{z}/{x}/{y}.jpg", | |
subdomains: ['a', 'b', 'c']), | |
MarkerLayer(markers: [ | |
Marker( | |
width: 30, | |
height: 30, | |
point: LatLng(41.1277837, 28.8125302), | |
child: Container( | |
decoration: BoxDecoration( | |
color: Colors.white, | |
shape: BoxShape.circle, | |
), | |
padding: EdgeInsets.all(8), | |
child: FlutterLogo(), | |
), | |
), | |
Marker( | |
width: 30, | |
height: 30, | |
point: LatLng(41.0973412, 29.0005743), | |
child: Container( | |
decoration: BoxDecoration( | |
color: Colors.white, | |
shape: BoxShape.circle, | |
), | |
padding: EdgeInsets.all(8), | |
child: FlutterLogo(), | |
), | |
), | |
Marker( | |
width: 30, | |
height: 30, | |
point: LatLng(40.9239525, 29.1231561), | |
child: Container( | |
decoration: BoxDecoration( | |
color: Colors.white, | |
shape: BoxShape.circle, | |
), | |
padding: EdgeInsets.all(8), | |
child: FlutterLogo(), | |
), | |
), | |
]) | |
], | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment