Search in sources :

Example 1 with FullScreen

use of ol.control.FullScreen in project gwt-ol3 by TDesjardins.

the class DemoUtils method addDefaultControls.

/**
 * Creates some default controls.
 *
 * @param controls
 */
public static void addDefaultControls(final Collection<Control> controls) {
    controls.push(new FullScreen());
    controls.push(new ZoomSlider());
    MousePosition mousePosition = new MousePosition();
    mousePosition.setCoordinateFormat(Coordinate.createStringXY(5));
    controls.push(mousePosition);
    controls.push(new ZoomToExtent());
}
Also used : MousePosition(ol.control.MousePosition) ZoomToExtent(ol.control.ZoomToExtent) ZoomSlider(ol.control.ZoomSlider) FullScreen(ol.control.FullScreen)

Aggregations

FullScreen (ol.control.FullScreen)1 MousePosition (ol.control.MousePosition)1 ZoomSlider (ol.control.ZoomSlider)1 ZoomToExtent (ol.control.ZoomToExtent)1