google_find_place()
function addedgoogle_places()
deprecatedradar
argumentdepature_time
andarrival_time
parameters now accept times in the pastadd_markers()
getsclose_info_window
argument to close all info windows at onceadd_kml()
getsz_index
argumentadd_kml()
getsupdate_map_view
argumentclear_overlay()
implemented
clear_bounds()
function to clear the map bounds objectadd_ ()
functions gainfocus_layer
argument to re-centre the map on the layer being plottedgoogle_map()
getsupdate_map_view
argument for controlling map view after usingsearch_box
- fix for
alternatives
argument not working split_view
argument forgoogle_map()
for using a split-view streetview and map- restructured JS dependencies
- Google charts can be added inside
info_windows
. see?google_charts
- fix for
add_markers(cluster = T)
- documentation for
google_map-shiny
andgoogle_map
updated - fix for
place_hours()
andplace_open()
update_heatmap
acceptsoption_
argumentsupdate_heatmap
getsupdate_map_view
argumentsf
objects supported- Vignette updated to include all api calls and map layers
google_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 allupdate_
shape methods- map layers auto-recognise GTFS column names:
stop_lat
,stop_lon
,shape_pt_lat
,shape_pt_lon
legend
values are formattedlegend_options
acceptstitle
,css
,position
,prefix
,suffix
,reverse
legend
available for all shape layersmelbourne
data factor levels correctedplace_id
accepted as origin/destination ingoogle_direction
andgoogle_distance
departure_time
defaults toSys.time()
if omitted when usingtraffic_model
google_distance()
now accepts a data.frame of locationsadd_dragdrop
drag & drop geojson onto a mapdecode_pl
updated to now handlejqr
-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 query- Down-graded R requirement to 3.3.0
- Fix for url encoding issue #65
- Map Layers get
update_map_view
argument - Fixed
add_rectanges
bug where coordinates were not recognised #61
- removed roxygen comments for non-exported functions
- fixed arguments for
google_distance()
- bug fixes for
transit
mode - bug fixes for
waypoints
- fixes #58 digits
argument for map layers, gets sent tojsonlite::toJSON()
for coordinate precision - closes #53add_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()
getsmarker_icon
argument - closes #54- various control options added to
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
andinfo_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 forgoogle_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 #23google_place_details()
implemented to retrieve more details about a specific place - closes #22google_places()
implemented to retrieve information from Google Places API - closes #21traffic_model
arguments correctly defined - closes #16- Waypoint list elements must be named ('stop' or 'via') - closes #12
- Error handling around downloading data - part of #13
- Fixed Documentation for
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. Usegoogle_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
First release
- decode_pl()
- get_route()