add_overlay()
now automatically zooms to the overlay area issue 199
z_index
argument handled when passed in as a variable issue 182
directions_steps()
and directions_points()
now iterate nested results issue 183
google_find_place()
function addedgoogle_places()
deprecated radar
argumentdepature_time
and arrival_time
parameters now accept times in the pastadd_markers()
gets close_info_window
argument to close all info windows at onceadd_kml()
gets z_index
argumentadd_kml()
gets update_map_view
argumentclear_overlay()
implementedclear_bounds()
function to clear the map bounds objectadd_ ()
functions gain focus_layer
argument to re-centre the map on the layer being plottedgoogle_map()
gets update_map_view
argument for controlling map view after using search_box
alternatives
argument not workingsplit_view
argument for google_map()
for using a split-view streetview and mapinfo_windows
. see ?google_charts
add_markers(cluster = T)
google_map-shiny
and google_map
updatedplace_hours()
and place_open()
update_heatmap
accepts option_
argumentsupdate_heatmap
gets update_map_view
argumentsf
objects supportedgoogle_keys()
for viewing / accessing globally defined API keysset_key()
for setting global API keys which can be accessed globallygoogle_map_panorama()
loads an interactive panorma image without an API keygoogle_map_directions()
loads a Google Map Directions search without an API keygoogle_map_search()
loads a Google Map Search without an API keygoogle_map_url()
loads a Google Map without an API keyload_interval
argument added to map layersadd_dragdrop
reads geoJSON stylesadd_fusion
accepts JSON style argument, and query as a listinfo_window
argument for all update_
shape methodsstop_lat
, stop_lon
, shape_pt_lat
, shape_pt_lon
legend
values are formattedlegend_options
accepts title
, css
, position
, prefix
, suffix
, reverse
legend
available for all shape layersmelbourne
data factor levels correctedplace_id
accepted as origin/destination in google_direction
and google_distance
departure_time
defaults to Sys.time()
if omitted when using traffic_model
google_distance()
now accepts a data.frame of locationsadd_dragdrop
drag & drop geojson onto a mapdecode_pl
updated to now handle jqr
-parsed character vectorscolours
- You can now map variables passed into the map layers to coloursadd_drawing
draw shapes and markers onto the mapadd_geojson
adds geojson to a mapaccess_result
function for accessing specific elements of a Google API queryupdate_map_view
argumentadd_rectanges
bug where coordinates were not recognised #61
google_distance()
transit
modewaypoints
- fixes #58
digits
argument for map layers, gets sent to jsonlite::toJSON()
for coordinate precision - closes #53
add_fusion()
adds a Fustion Table Layer to a mapadd_kml()
adds KML layer to a mapadd_overlay()
adds ground overlay layer to a mapadd_markers()
gets marker_icon
argument - closes #54
google_map()
(zoom, maptype, rotate, scale, etc…)add_rectangles()
adds rectangles to the mapgoogle_nearestRoads()
finds closest road segment for given coordinatesgoogle_snapToRoads()
snaps GPS coordinates to nearest roadadd_kml()
adds kml layers to a google mapgoogle_streetview()
to download a static streetview mapupdate_polygons()
to dynamically update polygonsupdate_style()
to dynamically update the map stylemouse_over
and info_window
available for most layersadd_polygons()
adds polygons (comprised of encoded polylines)add_polylines()
adds encoded polylinesadd_bicycling()
adds a bicycling layeradd_transit()
adds a transit layeroptimise_waypoints
argument included for google_directions()
add_circles()
adds circles to a google mapadd_traffic()
adds live traffic information to a google mapadd_heatmap()
adds a heatmap layer to a google mapadd_markers()
adds markers to a google mapgoogle_map()
implemented to plot a google mapgoogle_place_autocomplete()
implemented to ‘autcomplete’ place names - closes #23
google_place_details()
implemented to retrieve more details about a specific place - closes #22
google_places()
implemented to retrieve information from Google Places API - closes #21
traffic_model
arguments correctly defined - closes #16
key
s in each function - closes #10
Deprecated the get_route()
funciton. In its place is google_directions()
.
New functions:
google_reverse_geocode()
Returns the street address of lat/lon coordinatesgoogle_elevation()
Returns elevation data for locationsgoogle_timezone()
Returns time offset data for locations on the surface of the earth.google_geocode()
Returns a lat/lon encoding of a given addressgoogle_distance()
Returns a distance matrix from Google Distance API call.get_route()
is now deprecated. Use google_directions()
instead.New arguments for get_route()
, closes #1
waypoints
departure_time
arrival_time
alternatives
avoid
traffic_model
units
mode
transit_mode
transit_routing_preference
language
region