Flutter URL Launcher Google Maps Multiple Maker

338 Views Asked by At

How can launch google map with multiple marker in flutter I use map-launcher but it only shows me only one marker

1

There are 1 best solutions below

2
On BEST ANSWER

you can use google_maps_flutter package

passing set of markers and the map widget can handle it

GoogleMap(
              onMapCreated: _onMapCreated,
              initialCameraPosition: const CameraPosition(
                target: LatLng(-33.852, 151.211),
                zoom: 11.0,
              ),
              markers: Set<Marker>.of(markers.values),
            ),