All functions

mp_directions()

Get directions from the Google Maps Directions API

mp_geocode()

Get geocoded coordinates using the Google Maps Geocoding API

mp_get_bounds()

Extract geocoded *bounds* from Google Maps Geocode API response

mp_get_matrix()

Extract distance or duration *matrix* from a Google Maps Distance Matrix API response

mp_get_points()

Extract geocoded points from Google Maps Geocode API response

mp_get_routes()

Extract *routes* from Google Maps Directions API response

mp_get_segments()

Extract *route segments* from a Google Maps Directions API response

mp_map()

Get static map from the Maps Static API

mp_matrix()

Get distance matrix from the Google Maps Distance Matrix API

plot(<mapsapi_map>)

Plot static Google map

response_directions_driving

Sample response from Google Maps Directions API

response_directions_transit

Sample response from Google Maps Directions API

response_geocode

Sample response from Google Maps Geocode API

response_map

Sample response from Maps Static API (as 'stars' raster)

response_matrix

Sample response from Google Maps Distance Matrix API