powered by
Leaflet extension.
e_leaflet(e, roam = TRUE, ...)e_leaflet_tile( e, template = "https://{s}.tile.openstreetmap.fr/hot/{z}/{x}/{y}.png", options = NULL, ... )
e_leaflet_tile( e, template = "https://{s}.tile.openstreetmap.fr/hot/{z}/{x}/{y}.png", options = NULL, ... )
An echarts4r object as returned by e_charts or a proxy as returned by echarts4rProxy.
echarts4r
e_charts
echarts4rProxy
Whether to allow the user to roam.
Any other option to pass, check See Also section.
urlTemplate, should not be changed.
urlTemplate
List of options, including attribution and label.
attribution
label
population |> dplyr::filter(value > 8) |> e_charts(lon) |> e_leaflet() |> e_leaflet_tile(options = list(maxZoom = 3)) |> e_scatter(lat, size = value, coord_system = "leaflet")
Run the code above in your browser using DataLab