google_maps_flutter
2.19.0, released 5 weeks ago by flutter.dev
A Flutter plugin for integrating Google Maps in Android, iOS, and web applications.
What it does
Provides a GoogleMap widget that embeds Google Maps natively into your Flutter app. Allows control over camera position, markers, ground overlays, heatmaps, and map types using a GoogleMapController.
AI-written summary of version 2.19.0, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need official Google Maps integration in your app across Android, iOS, and Web
- You require advanced markers, custom map styling, or clustering support
Skip it when
- You want a map solution that doesn't require setting up a Google Cloud API key and billing
- You prefer an open-source map provider that does not rely on Google's proprietary services
Strengths
- Official Google Maps support with regular feature updates
- Cross-platform support including Android, iOS, and Web
- Extensive feature set including clustering, heatmaps, and advanced markers
Weaknesses
- Requires a Google Cloud project, API key, and billing setup
- Certain platform implementations or legacy SDK versions require specific manual setup
Setup
- Kind
- Plugin (native code)
- Effort
- Medium
- Code generation
- No
- Direct dependencies
- 4
Requires getting a Google Maps API key from the Google Cloud Console and enabling the Maps SDK for Android, iOS, and Web, plus platform-specific setup as detailed in the endorsed platform packages.
GoogleMap(
mapType: MapType.hybrid,
initialCameraPosition: CameraPosition(
target: LatLng(37.42796133580664, -122.085749655962),
zoom: 14.4746,
),
)Alternatives
Packages that do the same job and could replace google_maps_flutter.
- flutter_map
A customizable open-source map widget that doesn't require a Google Maps API key or billing.
90Compare - mapbox_maps_flutter
You want to use Mapbox vector maps instead of Google Maps.
92Compare
Works with
Packages commonly used together with google_maps_flutter: ones it builds on, ones built on it, and its own family.
- google_maps_flutter_androidgoogle_maps_flutter depends on itAndroid implementation of the google_maps_flutter plugin.
- google_maps_flutter_iosgoogle_maps_flutter depends on itiOS implementation of the google_maps_flutter plugin.
- google_maps_flutter_webgoogle_maps_flutter depends on itWeb platform implementation of google_maps_flutter.
- google_fontsSame familyFlutter package to load Google Fonts at runtime or bundle them as assets
- google_sign_in_iosSame familyiOS and macOS implementation of Google Sign-In for Flutter
- google_sign_in_androidSame familyAndroid implementation of the google_sign_in plugin
- google_sign_inSame familyOfficial Flutter plugin for authenticating users and requesting OAuth scopes via Google Sign-In.
- google_identity_services_webSame familyDart JS-interop wrapper for Google Identity Services Web SDK