get_grid | R Documentation |
Get empty global grid
get_grid(res = 0.5, crs = leaflet:::epsg4326, val = NA)
res |
resolution, in decimal degrees (default 0.5) |
crs |
coordinate resolutions system, ie projection (default geographic coordinate system 4326, ie WGS84) |
global raster with extent -180 to 180 longitude, -90 to 90 latitude and specified resolution
# get half-degree global grid
get_grid(res=0.5)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.