Description Usage Arguments Value Examples
template of leaflet map for eppexist or eppproy outputs
1 |
x |
List obtained from eppexist or eppproy |
t |
Character "exist" or "proy" depending of input structure |
crs |
Coordinate Reference Systems (CRS). |
leng |
Lenguage of labels. Available english ("en" ) and spanish ("es"). Default "es" |
... |
leaflet options and parameters |
leaflet
1 2 3 4 5 6 7 8 9 10 11 | ## In case of eppexist
exist <- eppexist(pop = pop_epp,
centers = centers_epp,
crs = sp::CRS("+init=epsg:32721"))
l_epp_exist <- leafepp(exist, t = "exist", crs = sp::CRS("+init=epsg:32721"))
## In case of eppproy
proy <- eppproy(pop = exist$pop_uncover)
l_epp_proy <- leafepp(proy, t = "proy", crs = sp::CRS("+init=epsg:32721"))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.