witnessmenow / arduino-google-maps-api

An Arduino library for communicating with the Google Maps Api
GNU General Public License v2.0
48 stars 20 forks source link
arduino arduino-library esp8266 esp8266-arduino google-maps-api

arduino-google-maps-api

A wrapper for the Google Maps API for Arduino (works on ESP8266). Available on the Arduino library manager.

There are now two different parts of the API implemented and they can be used separately (They are independent of each other)

Directions API

Link to Directions API documentation

This is probably the better of the two APIs (which have similar functions)

Main Features:

Example

Example here

Note: that only one of the headers of this library is used: GoogleMapsDirectionsApi.h

Required Libraries

The Directions part of the library requires Squix78's Json Streamer Parser, which can be installed via the arduino library manager.

Getting a Google API key (Required!)

Distance Matrix API

Link to Distance Matrix API documentation

This is the API that was implemented in the first version of the library.

Main Features:

Example

Example here

Note: that only one of the headers of this library is used: GoogleMapsApi.h

Required Libraries

The Distance Matrix part of the library requires Benoît Blanchon's ArduinoJson library, which can be installed via the arduino library manager.

Getting a Google API key (Required!)