z_indexargument handled when passed in as a variable issue 182directions_steps()anddirections_points()now iterate nested results issue 183
google_find_place()function addedgoogle_places()deprecatedradarargumentdepature_timeandarrival_timeparameters now accept times in the pastadd_markers()getsclose_info_windowargument to close all info windows at onceadd_kml()getsz_indexargumentadd_kml()getsupdate_map_viewargumentclear_overlay()implemented
clear_bounds()function to clear the map bounds objectadd_ ()functions gainfocus_layerargument to re-centre the map on the layer being plottedgoogle_map()getsupdate_map_viewargument for controlling map view after usingsearch_box- fix for
alternativesargument not working split_viewargument 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-shinyandgoogle_mapupdated - fix for
place_hours()andplace_open()
update_heatmapacceptsoption_argumentsupdate_heatmapgetsupdate_map_viewargumentsfobjects 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_intervalargument added to map layersadd_dragdropreads geoJSON stylesadd_fusionaccepts JSON style argument, and query as a listinfo_windowargument for allupdate_shape methods- map layers auto-recognise GTFS column names:
stop_lat,stop_lon,shape_pt_lat,shape_pt_lon legendvalues are formattedlegend_optionsacceptstitle,css,position,prefix,suffix,reverselegendavailable for all shape layersmelbournedata factor levels correctedplace_idaccepted as origin/destination ingoogle_directionandgoogle_distancedeparture_timedefaults toSys.time()if omitted when usingtraffic_modelgoogle_distance()now accepts a data.frame of locationsadd_dragdropdrag & drop geojson onto a mapdecode_plupdated to now handlejqr-parsed character vectorscolours- You can now map variables passed into the map layers to coloursadd_drawingdraw shapes and markers onto the mapadd_geojsonadds geojson to a mapaccess_resultfunction 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_viewargument - Fixed
add_rectangesbug where coordinates were not recognised #61
- removed roxygen comments for non-exported functions
- fixed arguments for
google_distance() - bug fixes for
transitmode - bug fixes for
waypoints- fixes #58 digitsargument 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_iconargument - 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_overandinfo_windowavailable 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_waypointsargument 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_modelarguments 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
keys 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
waypointsdeparture_timearrival_timealternativesavoidtraffic_modelunitsmodetransit_modetransit_routing_preferencelanguageregion
First release
- decode_pl()
- get_route()