switchDataSet

优质
小牛编辑
131浏览
2023-12-01

Parameter:
dataSet key -- string

switchDataSet API can be used to switch data set when a data group is added to controller through addData API. Use the data set key to set which data set to be displayed
onto the globe. Only after a data group being added to the controller can this API takes effect.



// "large" is the key of a data set
controller.switchDataSet("large");