Description Usage Arguments Examples
rCrimemap using pre-processed JSON data - a faster version of rcmap()
1 2 3 | rcmap_quick(period = "2014-01", map_size = c(960, 500),
map_center = "Lichfield", provider = "OpenStreetMap.BlackAndWhite",
zoom = 6, marker = NULL)
|
period |
Specific month of interest between Dec 2010 and Jan 2014 in 'yyyy-mm' format (e.g. 2014-01) |
map_size |
Resolution of the map (e.g. Full HD = c(1920 x 1080)) |
map_center |
Center of the map, Lichfield is approx. center of England & Wales |
provider: |
Base map service provider (e.g. "OpenStreetMap.BlackAndWhite") (see http://leaflet-extras.github.io/leaflet-providers/preview/index.html) |
zoom |
Zoom level of the map |
marker |
Place a marker at the center? (default = NULL) |
1 2 3 4 5 | ## Create a heatmap with default settings
rcmap_quick()
## Be more specific
rcmap_quick(period = "2014-01", map_size = c(1920,1080), provider = "MapQuestOpen.OSM")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.