Location

new GisEye.Location()

飞行定位对象

Methods

static GisEye.Location.LocationTo(target, options)

定位到对象

Name Type Description
target Entity | Cartesian3 | Cartographic

定位对象

options Object

定位参数

Name Type Default Description
viewer Viewer

不可缺省,viewer实例对象

duration Number 2 optional

定位时间,单位秒,只有当animation为true时生效

animation boolean true optional

是否执行飞行动画,否则直接定位到对象上

lookAt boolean false optional

定位完成后是否锁定定位对象

offset Cartesina3 Camera.DEFAULT_OFFSET optional

视角偏移值

cameraoffset Cartesian2

定位完成后相机位置的偏移值,只在x和y方向上偏移,z方向请通过offset设置,只要当lookAt=false的时候生效

compelete function

飞行完成回调

easingFunction Cesium.EasingFunction.Callback

缓动函数