Package org.zkoss.openlayers.layer

Examples of org.zkoss.openlayers.layer.Text


    super.doAfterCompose(comp);
    map.addLayer(new WMS( "OpenLayers WMS",
             "http://vmap0.tiles.osgeo.org/wms/vmap0", toMap(pair("layers", "basic"))));
            
        map.setCenter(new LonLat(0, 0), 0);
        map.addLayer(new Text("text", toMap(pair("location", Executions.getCurrent().getContextPath() + "/data/textfile.txt"))));

        Markers markers = new Markers("Markers");
        map.addLayer(markers);

        Size size = new Size(21,25);
View Full Code Here


    super.doAfterCompose(comp);

    map.addLayer(new WMS( "OpenLayers WMS",
             "http://vmap0.tiles.osgeo.org/wms/vmap0", toMap(pair("layers", "basic"))));
            
        map.addLayer(new Text("text", toMap(pair("location", Executions.getCurrent().getContextPath() + "/data/textfile.txt"))));
         map.addControl(new LayerSwitcher());
         map.zoomToMaxExtent();
  }
View Full Code Here

TOP

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

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.