Learn R Programming

highcharter (version 0.9.4)

hc_add_series.geo_json: hc_add_series for geo_json & geo_list objects

Description

hc_add_series for geo_json & geo_list objects

Usage

# S3 method for geo_json
hc_add_series(hc, data, type = NULL, ...)

# S3 method for geo_list hc_add_series(hc, data, type = NULL, ...)

Arguments

hc

A highchart htmlwidget object.

data

A geo_json or geo_list object.

type

Type of series. Can be 'mapline', 'mapoint'.