Package org.zkoss.openlayers.layer

Examples of org.zkoss.openlayers.layer.VirtualEarth


  @Wire
  private Openlayers map;

  public void doAfterCompose(Window comp) throws Exception {
    super.doAfterCompose(comp);
    map.addLayer(new VirtualEarth("Shaded", toMap(pair("type",
        VirtualEarth.Type.SHADED))));
    map.addLayer(new VirtualEarth("Hybrid", toMap(pair("type",
        VirtualEarth.Type.HYBRID))));
    map.addLayer(new VirtualEarth("Aerial", toMap(pair("type",
        VirtualEarth.Type.AERIAL))));

    map.addControl(new LayerSwitcher());
    map.setCenter(new LonLat(-110, 45), 3, false, false);
View Full Code Here

TOP

Related Classes of org.zkoss.openlayers.layer.VirtualEarth

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.