Skip to content
pubscout

map_location_picker

4.0.1, released 2 months ago by mohesu.com

Google Maps location picker for Flutter with Places API search and typed addresses.

WASM-ready
$ flutter pub add map_location_picker
Source repository

What it does

A map location picker supporting Android, iOS, and web. It lets users search for places using Places API (New) autocomplete, tap or drag a marker, or use centre-pin picking while returning a typed address result.

AI-written summary of version 4.0.1, based on the package's README and metadata. Report an inaccuracy

Use it when

  • You need a drop-in location or address picker for delivery, ride-hailing, or checkout forms using Google Maps.
  • You want support for Android, iOS, and web without writing custom geocoding and search UI from scratch.

Skip it when

  • Your application targets desktop platforms (macOS, Windows, Linux) where google_maps_flutter lacks implementation.
  • You require an alternative mapping provider like Mapbox or OpenStreetMap instead of Google Maps.

Strengths

  • Supports both marker dragging and centre-pin delivery-app patterns out of the box.
  • Built-in Places API (New) autocomplete search requiring no CORS proxy on web.
  • Provides typed error handling and a comprehensive programmatic controller.

Weaknesses

  • Tied exclusively to Google Maps and specific Google Cloud APIs (requires billing and API keys setup).
  • No desktop support due to underlying map plugin limitations.

Setup

Kind
Flutter widgets
Effort
Medium
Code generation
Yes (build_runner)
Direct dependencies
9

Requires enabling Google Maps and Places APIs in the Cloud console, configuring API keys in AndroidManifest.xml, AppDelegate.swift, and index.html, plus adding location permissions for mobile platforms.

final picked = await showMapLocationPicker(
  context,
  config: const MapLocationPickerConfig(apiKey: 'YOUR_API_KEY'),
);
debugPrint(picked?.formattedAddress);

Alternatives

Packages that do the same job and could replace map_location_picker.

Works with

Packages commonly used together with map_location_picker: ones it builds on, ones built on it, and its own family.