Skip to content

Instantly share code, notes, and snippets.

@eric-taix
Last active January 25, 2021 13:31
Show Gist options
  • Save eric-taix/591f371d6792b574375b377f76bbf4fe to your computer and use it in GitHub Desktop.
Save eric-taix/591f371d6792b574375b377f76bbf4fe to your computer and use it in GitHub Desktop.
Google Maps with markers
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