Skip to content
pubscout

flutter_google_maps_webservices

1.1.1, released 3 years ago by devjuju.com

Google maps web services for Flutter (Geocoding, Places, Directions, Distance Matrix, etc.)

WASM-ready
$ flutter pub add flutter_google_maps_webservices
Source repository

What it does

Provides Dart wrappers for Google Maps web services including Geocoding, Places, Directions, Distance Matrix, Timezone, and Static Maps. Allows querying Google APIs directly from your Flutter application using an API key.

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

Use it when

  • You need to access Google Maps HTTP APIs like Geocoding or Places search in your app.
  • You want to generate static map URLs or fetch route directions.

Skip it when

  • You only need an interactive on-screen map widget rather than web service calls.
  • You do not have or want to configure a Google Maps Web API key.

Strengths

  • Covers multiple Google Maps web services (Geocoding, Places, Directions, Distance Matrix, Timezone, Static Map).
  • Supports custom HTTP clients for testing or proxying requests.

Weaknesses

  • Does not cover every single Google Maps API endpoint (e.g., Geolocation, Elevation, Roads are not implemented).
  • Requires managing a Google Maps Web API key.

Setup

Kind
Pure Dart
Effort
Low
Code generation
Yes (build_runner)
Direct dependencies
3

Requires obtaining a Web API key from the Google Cloud / Maps Platform and passing it to the service constructors.

import "package:flutter_google_maps_webservices/geocoding.dart";

final geocoding = GoogleMapsGeocoding(apiKey: "<API_KEY>");
GeocodingResponse response = await geocoding.searchByAddress("1600 Amphitheatre Parkway, Mountain View, CA");

Alternatives

Packages that do the same job and could replace flutter_google_maps_webservices.

  • google_maps_flutter

    Pick it if you want to embed an interactive native Google Maps widget inside your application rather than calling REST web services.

  • geocoding

    Pick it if you only need standard platform-backed geocoding and reverse-geocoding without using Google's specific web services directly.

Works with

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