Examples of OSM


Examples of org.wicketstuff.openlayers3.api.source.Osm

                                // a new tile layer with the map of the world
                                new Tile("Streets",

                                        // a new web map service tile layer
                                        new Osm())),

                        // list of overlays
                        Arrays.asList(

                                // overlay with the popover
View Full Code Here

Examples of org.zkoss.openlayers.layer.OSM

  @Wire
  private Openlayers map;

  public void doAfterCompose(Window comp) throws Exception {
    super.doAfterCompose(comp);
    map.addLayer(new OSM("Simple OSM Map"));
    map.setCenter(new LonLat(-71.147, 42.472).transform(
                new Projection("EPSG:4326"),
                map.getProjection()), 12, false, false);

  }
View Full Code Here

Examples of org.zkoss.openlayers.layer.OSM

        pair("units", "m"),
        pair("maxExtent", new Bounds(-20037508.34, -20037508.34,
            20037508.34, 20037508.34)),
        pair("maxResolution", 156543.0339)));

    map.addLayer(new OSM());
    String[] matrixIds = new String[26];
    for (int i = 0; i < 26; ++i) {
      matrixIds[i] = "EPSG:900913:" + i;
    }
    map.addLayer(new WMTS(
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.