Flutter URL Launcher Google Maps Multiple Maker

323 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 answers

2
Moaid ALRazhy 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),
            ),