Package org.zkoss.openlayers.control

Examples of org.zkoss.openlayers.control.Navigation


    super.doAfterCompose(comp);
    map.setOptions(toMap(pair("controls", Collections.EMPTY_LIST)));
    map.addLayer(new WMS("OpenLayers WMS",
        "http://vmap0.tiles.osgeo.org/wms/vmap0", toMap(pair("layers",
            "basic"))));
    nav = new Navigation(toMap(pair("zoomWheelEnabled", false)));
    map.addControl(nav);
    map.zoomToMaxExtent();

  }
View Full Code Here

TOP

Related Classes of org.zkoss.openlayers.control.Navigation

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.