google_maps_webservice 0.0.3

  • Installing
  • Versions
  • 89


Build Status Coverage Status

Google Maps Web Services API



import "package:google_maps_webservice/geocoding.dart";

final geocoding = new GoogleMapsGeocoding("<API_KEY>");
final geocoding = new GoogleMapsGeocoding("<API_KEY>", new BrowserClient());

GeocodingResponse response = await geocoding.searchByAddress("1600 Amphitheatre Parkway, Mountain View, CA");


import "package:google_maps_webservice/places.dart";

final places = new GoogleMapsPlaces("<API_KEY>");
final places = new GoogleMapsPlaces("<API_KEY>", new BrowserClient());

PlacesSearchResponse reponse = await places.searchNearbyWithRadius(new Location(31.0424, 42.421), 500);
PlacesSearchResponse reponse = await places.searchNearbyWithRankby(new Location(31.0424, 42.421), "distance");
PlacesSearchResponse reponse = await places.searchByText("123 Main Street");

PlacesDetailsResponse response = await places.getDetailsByPlaceId("PLACE_ID");
PlacesDetailsResponse response = await places.getDetailsByReference("REF");

Please file feature requests and bugs at the issue tracker.



  • parse Geometry field in place details response


  • Directions API


  • Geocoding API
  • Places API

1. Depend on it

Add this to your package's pubspec.yaml file:

  google_maps_webservice: "^0.0.3"

2. Install it

You can install packages from the command line:

with pub:

$ pub get

with Flutter:

$ flutter packages get

Alternatively, your editor might support pub get or packages get. Check the docs for your editor to learn more.

3. Import it

Now in your Dart code, you can use:

import 'package:google_maps_webservice/directions.dart';

import 'package:google_maps_webservice/geocoding.dart';

import 'package:google_maps_webservice/places.dart';
Version Uploaded Documentation Archive
0.0.3 Dec 21, 2017 Go to the documentation of google_maps_webservice 0.0.3 Download google_maps_webservice 0.0.3 archive
0.0.2 Sep 17, 2017 Go to the documentation of google_maps_webservice 0.0.2 Download google_maps_webservice 0.0.2 archive
0.0.1 Sep 6, 2017 Go to the documentation of google_maps_webservice 0.0.1 Download google_maps_webservice 0.0.1 archive


This feature is new.
We welcome feedback.
More details: scoring.

We analyzed this package, and provided a score, details, and suggestions below.

  • tool failures on Feb 14, 2018
  • Dart: 2.0.0-dev.20.0
  • pana: 0.10.1


Describes how popular the package is relative to other packages. [more]
81 / 100
Code health derived from static analysis. [more]
97 / 100
Reflects how tidy and up-to-date the package is. [more]
95 / 100
Overall score:
Weighted score of the above. [more]


Detected platforms: Flutter, web, other

No platform restriction found in libraries.


  • Fix lib/src/utils.dart.

    Strong-mode analysis of lib/src/utils.dart failed with the following error:

    line: 4 col: 8
    Target of URI doesn't exist: 'package:meta/meta.dart'.

  • Fix issues reported by dartanalyzer.

    dartanalyzer reported 1 error(s) and 0 warning(s).

  • Package is pre-v1 release.

    While there is nothing inherently wrong with versions of 0.*.*, it usually means that the author is still experimenting with the general direction API.

  • Maintain an example.

    None of the files in your example/ directory matches a known example patterns. Common file name patterns include: main.dart, example.dart or you could also use google_maps_webservice.dart.


Package Constraint Resolved Available
Direct dependencies
Dart SDK >=1.20.1 <2.0.0
http >=0.11.0 <1.0.0 0.11.3+16
Transitive dependencies
async 2.0.3 2.0.4
charcode 1.1.1
collection 1.14.5
http_parser 3.1.1
path 1.5.1
source_span 1.4.0
string_scanner 1.0.2
typed_data 1.1.5
Dev dependencies
test ^0.12.0