Map - polygons - Create leaflet map from shapefile, in shiny app
Source:R/MAP_FUNCTIONS.R
map_shapes_leaflet.Rd
Map - polygons - Create leaflet map from shapefile, in shiny app
Examples
out = testoutput_ejamit_10pts_1miles
out$results_bysite = out$results_bysite[1:2,]
map_shapes_leaflet(
ejam2shapefile(out, save=F),
popup = popup_from_ejscreen(out$results_bysite)
)
#> Warning: Some specified varnames not found in ejamitout$results_bysite
#> Using only basic 250 or so columns -
#> To include averages, ratios, and raw EJ scores, set varnames = 'all' or NULL.
#> To include specific columns provides those as a character vector of varnames.
#> Warning: sf layer has inconsistent datum (+proj=longlat +datum=NAD83 +no_defs).
#> Need '+proj=longlat +datum=WGS84'