Package: leafletZH 0.1.1

Damonsoul
leafletZH: Chinese Leaflet Map Relate Operation
Provides 'sf' data for Chinese provinces and cities, methods for plotting shape maps of Chinese provinces and cities, Convert Coordinates Between Different Systems, and a layer for 'leaflet' with Gaode tiles. It is designed to facilitate geographical data visualization in China.
Authors:
leafletZH_0.1.1.tar.gz
leafletZH_0.1.1.tar.gz(r-4.5-noble)leafletZH_0.1.1.tar.gz(r-4.4-noble)
leafletZH_0.1.1.tgz(r-4.4-emscripten)leafletZH_0.1.1.tgz(r-4.3-emscripten)
leafletZH.pdf |leafletZH.html✨
leafletZH/json (API)
NEWS
# Install 'leafletZH' in R: |
install.packages('leafletZH', repos = c('https://cran.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/damonsoul/leafletzh/issues
Pkgdown site:https://damonsoul.github.io
- china_city - City data for China
- china_province - Province data for China
Last updated 3 months agofrom:b3e9afdc9c. Checks:1 OK, 1 NOTE. Indexed: no.
Target | Result | Latest binary |
---|---|---|
Doc / Vignettes | OK | Jan 24 2025 |
R-4.5-linux-x86_64 | NOTE | Jan 24 2025 |
Exports:addAreaPolygonsaddCityShapeaddProvinceShapeaddTilesAmapareaCalculatorconvertCoordinates
Dependencies:base64encbslibcachemclassclassIntclicolorspacecrosstalkDBIdigeste1071evaluatefarverfastmapfontawesomefsgeojsonsfgeometriesgeospheregluehighrhtmltoolshtmlwidgetsjquerylibjsonifyjsonliteKernSmoothknitrlabelinglatticelazyevalleafletleaflet.extrasleaflet.providerslifecyclemagrittrMASSmemoisemimemunsellpngproxypurrrR6rapidjsonrrappdirsrasterRColorBrewerRcppRcppArmadillorlangrmarkdowns2sassscalessfsfheadersspstringistringrterratinytexunitsvctrsviridisLitewkxfunyaml
Readme and manuals
Help Manual
Help page | Topics |
---|---|
Add Area Polygons to a Map | addAreaPolygons |
Adds a choropleth map layer for citys with additional customization options. | addCityShape |
Adds a choropleth map layer for provinces with additional customization options. | addProvinceShape |
Adds a tile layer from Amap to a leaflet map. | addTilesAmap |
Calculate the area of a polygon defined by latitude and longitude points | areaCalculator |
city data for China | china_city |
province data for China | china_province |
Convert Coordinates Between Different Systems | convertCoordinates |