View source: R/create_qk_grid.R
create_qk_grid | R Documentation |
Generates a grid comprising all the QuadKeys within the area defined by the maximum and minimum coordinates of latitude and longitude along with a specified zoom level.
create_qk_grid(xmin, xmax, ymin, ymax, zoom)
xmin |
Minimum value in the x axis (longitude) |
xmax |
Maximum value in the y axis (latitude) |
ymin |
Minimum value in the x axis (longitude) |
ymax |
Maximum value in the Y axis (latitude) |
zoom |
Zoom or level of detail, from 1 (lowest detail) to 23 (highest detail). |
A list returning the QuadKeys as a data.frame (data
),
the number of rows (num_rows
)
and columns (num_cols
) of the grid.
grid <- create_qk_grid(
xmin = -59,
xmax = -57,
ymin = -35,
ymax = -34,
zoom = 12
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.