- grid_param_df
Grid parameter dataframe produced from gt_make_grid()
- google_key
Google API key, where the Maps JavaScript API is enabled. To create a Google API key, follow these instructions.
- traffic_color_dist_thresh
Google traffic relies on four main base colors: #63D668
for no traffic, #FF974D
for medium traffic, #F23C32
for high traffic, and #811F1F
for heavy traffic. Slight variations of these colors can also represent traffic. By default, the base colors and all colors within a 4.6 color distance of each base color are used to define traffic; by default, the CIEDE2000
metric is used to determine color distance. A value of 2.3 is one threshold used to define a "just noticeable distance" (JND) between colors (by default, 2 X JND is used). This parameter changes the color distance from the base colors used to define colors as traffic. For more information, see here.
- traffic_color_dist_metric
See above; this parameter changes the metric used to calculate distances between colors. By default, CIEDE2000
is used; CIE76
and CIE94
can also be used. For more information, see here.
- webshot_zoom
How many pixels should be created relative to height and width values. If height
and width
are set to 100
and webshot_zoom
is set to 2
, the resulting raster will have dimensions of about 200x200
(default: 1
).
- webshot_delay
How long to wait for Google traffic layer to render. Larger height/widths require longer delay times. If NULL
, the following delay time (in seconds) is used: delay = max(height,width)/200
.
- return_list_of_rasters
Instead of merging traffic rasters produced for each grid together into one large raster, return a list of rasters (default: FALSE
)
- print_progress
Whether to print function progress (default: TRUE
)