ec_globe: globe

Description Usage Arguments Examples

Description

The component provides the drawing of the Earth and the coordinate system. The developer can display 3D Scatter, 3D Bubble, 3D Bar, 3D Lines on it.

Usage

1

Arguments

ec

An echarter object as returned by echart.

...

Additional arguments for the aria (https://echarts.apache.org/en/option-gl.html#globe).

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
library(dplyr)
data(dnb_land_ocean_ice, package = "echarter")

echart() %>%
  ec_globe(
    show = TRUE,
    shading = 'color',
    environment = '#000', heightTexture = NULL,
    globeOuterRadius = 100,
    baseTexture = dnb_land_ocean_ice,
    viewControl = list(
      autoRotate = TRUE
    )
  )

jeevanyue/echarter documentation built on Oct. 16, 2020, 5:12 a.m.