new Cesium.ProjectionPickerViewModel(scene)

The view model for ProjectionPicker.
Name Type Description
scene Scene The Scene to switch projections.

Members

获取或设定按钮下拉是否当前可见 。 这块地产是可观察的.
Default Value: false

isOrthographicProjection : Command

获取该场景目前是否使用整形投影.

scene : Scene

有了场面

sceneMode : SceneMode

获取或设置当前 SceneMode 。 这块地皮是可观察到的.

selectedTooltip : string

获取当前活动的工具提示。 这块地皮是可观察到的.

switchToOrthographic : Command

使命令切换到正图投影.

switchToPerspective : Command

使命令切换到视角投影.

toggleDropDown : Command

命令可以切换掉的框.

tooltipOrthographic : string

获取或设置正交投影工具提示. 这块地皮是可观察到的.
Default Value: 'Orthographic Projection'

tooltipPerspective : string

获取或设置视角投影工具提示. 这块地皮是可观察到的.
Default Value: 'Perspective Projection'

Methods

destroy()

破坏观景模式.

isDestroyed()boolean

Returns:
如果物体已被销毁, 则真实无误 .
Need help? The fastest way to get answers is from the community and team on the Cesium Forum.