Search in sources :

Example 1 with ZoomOptions

use of org.discotools.gwt.leaflet.client.controls.zoom.ZoomOptions in project opennms by OpenNMS.

the class NodeMapWidget method addZoomControl.

private void addZoomControl() {
    LOG.info("NodeMapWidget.addZoomControl()");
    final ZoomOptions options = new ZoomOptions();
    options.setPosition("topright");
    m_map.addControl(new Zoom(options));
}
Also used : ZoomOptions(org.discotools.gwt.leaflet.client.controls.zoom.ZoomOptions) Zoom(org.discotools.gwt.leaflet.client.controls.zoom.Zoom)

Aggregations

Zoom (org.discotools.gwt.leaflet.client.controls.zoom.Zoom)1 ZoomOptions (org.discotools.gwt.leaflet.client.controls.zoom.ZoomOptions)1