@JsType(isNative=true, namespace="Cesium", name="HomeButton") public class HomeButton extends Object
Modifier and Type | Field and Description |
---|---|
com.google.gwt.dom.client.Element |
container
Gets the parent container.
|
HomeButtonViewModel |
viewModel
Gets the view model.
|
Constructor and Description |
---|
HomeButton(com.google.gwt.dom.client.Element container,
Scene scene,
Number duration)
A single button widget for returning to the default camera view of the current scene.
|
@JsProperty public com.google.gwt.dom.client.Element container
@JsProperty public HomeButtonViewModel viewModel
@JsConstructor public HomeButton(com.google.gwt.dom.client.Element container, Scene scene, Number duration)
container
- The DOM element or ID that will contain the widget.scene
- The Scene instance to use.duration
- The time, in seconds, it takes to complete the camera flight home. Optional.Copyright © 2019. All rights reserved.