knitr::opts_chunk$set(
  collapse = TRUE,
  comment = "#>"
)
library(echarts4r)
library(echarts4r.maps)

The package comes with 215 maps.

## Built-in wzxhzdk:1 wzxhzdk:2
## External `echarts4r.maps` is really just a bank of `GeoJSON` with a wrapper for `echarts4r::e_map_register` Another great resource for detailed maps is [here](https://code.highcharts.com/mapdata/). Use the `GeoJSON` with `echarts4r::e_map_register` as shown below. wzxhzdk:3 ## Custom If you need even more detailed maps you can read Pengfei Li's [tutorial for echarts4r](https://echarts4r.john-coene.com/articles/make-geo-json.html). ## Cities Below is a sample of 5 cities. wzxhzdk:4


JohnCoene/echarts4r.maps documentation built on Jan. 12, 2021, 12:45 a.m.