Last active
January 25, 2021 13:31
-
-
Save eric-taix/591f371d6792b574375b377f76bbf4fe to your computer and use it in GitHub Desktop.
Google Maps with markers
This file contains hidden or 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
final Set<Marker> _markers = [ | |
Marker( | |
markerId: MarkerId("montpellier-france"), | |
position: LatLng(43.617529, 3.9129273), | |
); | |
].toSet(); | |
Widget build(BuildContext context) { | |
return GoogleMap( | |
mapType: MapType.normal, | |
markers: _markers, | |
); | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment