new ModelInteroperation(map, options)
模型单体要素效果
Parameters:
| Name | Type | Description | |||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
map |
Glodon.CIMCube | CIMCube实例 | |||||||||||||||||||||||||||||||||
options |
Object | , 模型单体要素动画参数
Properties
|
Methods
-
dispose()
-
释放资源
-
play()
-
动画开始
-
removeFeatureTranslate(ids)
-
删除指定feature偏移
Parameters:
Name Type Description idsArrayList featureId集合 -
restore()
-
复原
-
setOpts(options)
-
更新参数
Parameters:
Name Type Description optionsObject 模型单体要素动画参数 Properties
Name Type Description durationNumber [optional], 动画时间,默认2(s) maxRangeNumber [optional], 偏移范围,默认50m interoperationListArray [optional], 效果列表 Properties
Name Type Description idsArray [optional], featureId集合 offset.xNumber [optional], 偏移X,默认0 offset.yNumber [optional], 偏移Y,默认0 offset.heightNumber [optional], 偏移height,默认0