Skip to content

Damonsoul/leafletZH

Repository files navigation

README

Overview

leafletZH provides mapping functionalities, including adding area polygons, customizable choropleth layers for cities and provinces, and Amap tile layers. It features tools for calculating polygon areas, along with datasets for Chinese cities and provinces, and coordinate conversion between different systems.

Installation

You can install this package from CRAN, or the development version from GitHub:

# CRAN version
install.packages('leafletZH')
# Or Github version
if (!require('devtools')) install.packages('devtools')
devtools::install_github('Damonsoul/leafletZH')

Documentation

Docs and examples at: https://damonsoul.github.io/leafletZH/

Data Sources

The province and city data are sourced from Aliyun DataV Atlas.

License

This package is released under the MIT license. Please see the LICENSE file for more details.

Contributing

Contributions are welcome! Please submit a pull request or open an issue on the GitHub repository.

Authors

This package was created by Damonsoul.