maps_launcher
3.0.0+1, released 2 years ago by julien-scholz.dev
Simple plugin to open the native maps application or browser with coordinates or queries.
What it does
It uses url_launcher under the hood to open the platform's native map application or browser. On iOS it uses Apple Maps scheme, on Android the geo intent, and on web and other platforms it launches Google Maps.
AI-written summary of version 3.0.0+1, based on the package's README and metadata. Report an inaccuracy
Use it when
- You want to launch the external maps app instead of embedding a map widget inside your UI.
- You need a quick way to open maps using an address query or latitude and longitude coordinates.
Skip it when
- You need to embed an interactive map directly within your own app's widget tree.
- You require advanced mapping features like custom markers, polygons, or real-time geolocation tracking.
Strengths
- Supports multiple platforms including Android, iOS, web, Windows, macOS, and Linux.
- Extremely simple API with static methods for queries and coordinates.
Weaknesses
- Leaves your app entirely to open an external application.
- Lacks any in-app map UI or customization options.
Setup
- Kind
- Plugin (native code)
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 2
Relies on url_launcher; consult its documentation for any platform-specific configuration.
import 'package:maps_launcher/maps_launcher.dart';
MapsLauncher.launchQuery('1600 Amphitheatre Pkwy, Mountain View, CA 94043, USA');
MapsLauncher.launchCoordinates(37.4220041, -122.0862462);Alternatives
Packages that do the same job and could replace maps_launcher.
- map_launcher
Allows launching specific map applications chosen by the user (like Waze, Google Maps, Apple Maps) rather than relying on the platform default.
89Compare - google_maps_flutter
If you need an embedded interactive map widget inside your own Flutter app instead of launching an external app.
90Compare
Works with
Packages commonly used together with maps_launcher: ones it builds on, ones built on it, and its own family.