use of org.cesiumjs.cs.widgets.options.ViewerCesiumNavigationMixinOptions in project gwt-cs by iSergio.
the class CesiumNavigation method buildPanel.
@Override
public void buildPanel() {
ViewerCesiumNavigationMixinOptions options = new ViewerCesiumNavigationMixinOptions();
options.defaultResetView = Rectangle.fromDegrees(71, 3, 90, 14);
options.enableCompass = true;
options.enableZoomControls = true;
options.enableDistanceLegend = true;
options.enableCompassOuterRing = true;
ViewerPanel csVPanel = new ViewerPanel();
csVPanel.getViewer().extend(viewerCesiumNavigationMixin.instance(), options);
contentPanel.add(new HTML("<p>Use CesiumNavigation plugin with GWT wrapper.</p>"));
contentPanel.add(csVPanel);
initWidget(contentPanel);
}
Aggregations