Package org.wicketstuff.openlayers.api.layer

Examples of org.wicketstuff.openlayers.api.layer.WMS


    HashMap<String, String> layerOptions = new HashMap<String, String>();

    layerOptions.put("layers", JSUtils.getQuotedString("basic"));

    layers.add(new WMS("OpenLayers WMS", "http://labs.metacarta.com/wms/vmap0", layerOptions));
  }
View Full Code Here


    for (Layer layer : layers)
    {
      if (layer instanceof WMS)
      {
        WMS wms = (WMS)layer;
        js.append("var wms" + wms.getId() + " =" + wms.getJSconstructor() + ";\n");
        js.append(getJSinvoke("addLayer(wms" + wms.getId() + "," + wms.getId() + ")"));
      }
      if (layer instanceof GMap)
      {
        GMap gmap = (GMap)layer;
        js.append("var gmap" + gmap.getId() + " =" + gmap.getJSconstructor() + ";\n");
View Full Code Here

TOP

Related Classes of org.wicketstuff.openlayers.api.layer.WMS

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.