fluttergoogle-mapsandroid-launcherapp-launcher

Flutter URL Launcher Google Maps Multiple Maker


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


Solution

  • 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),
                ),