```{css echo = FALSE}
pre { max-height: 300px; float: left; width: 910px; overflow-y: auto; }
pre.r { max-height: none; }
# About This file provides summary maps of the delineated polygons. Depending on the number of maps displayed, the document may take a while to load all the basemaps. Basemaps are not available at a high zoom level for all regions, and therefore it may be required to zoom out for it to load. # Map Results ```r knitr::opts_chunk$set(echo = FALSE, message = FALSE, warning = FALSE) # Load Packages library(polyCheck) library(leaflet) library(raster) # Load Data polyPath <- params$polyPath polygons <- list_polygons(polyPath, sort = TRUE)
# This is a slight workaround to make the code loop work maps <- display_polygon(polygons[1], params$survey_points) htmltools::tagList(maps)
for(i in polygons){ cat("\n \n") cat(sprintf("##%s \n", basename(i))) map <- display_polygon(i, params$survey_points) print(htmltools::tagList(map)) cat("\n \n") cat("\n \n") }
This document was produced using rmarkdown [@R-rmarkdown] with the maps being displayed using the leaflet [@R-leaflet] package. All custom scripts used for the polygon diagnostics are contained within the package polyCheck [@R-polyCheck].
The session info is provided below for reference:
sessionInfo()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.