Gio.js
Documentation
Playground
Download
Developer
Home
Download
Developer
EN
中
Gio.js
Getting Start
Introduce
System Requirements
Install
Your First Globe
Other Resources
Gio.js 2.0
Basic Elements
Introduce
Surface
Country
Line
Background
Halo
Ocean
Stats
Configuration
Introduce
Through Constructor
Configure API
Full Parameter List
Object Design API
Introduce
setInitCountry
lightenMentioned
disableUnmentioned
showInOnly / showOutOnly
addHalo / removeHalo
enableStats / disableStats
Transparent Background
Auto Rotation
Color and Style API
Introduce
setStyle
setSurfaceColor
setSelectedColor
setExportColor
setImportColor
setHaloColor
setBackgroundColor
adjustOceanBrightness
adjustRelatedBrightness
adjustMentionedBrightness
Working with Data
Introduce
addData
clearData
switchDataSet
Continent
addDataAsync
liveLoad
set line color from data
Data Preprocessing
Callback
Introduce
onCountryPicked
Dependence Interface
Introduce
Three.js Interface
Stats.js Interface
Advanced Feature
Introduce
function chain
switchCountry
adjustOceanBrightness
Sets the brightness of the
ocean
. The range of the brightness is [0, 1] and its default value is 0.5:
controller.adjustOceanBrightness(0.8);