Examples of OSM


Examples of org.gwtopenmaps.openlayers.client.layer.OSM

                defaultMapOptions.setNumZoomLevels(16);
                final MapWidget mapWidget = new MapWidget("100%", "100%", defaultMapOptions);
                mapContainer.add(mapWidget);
                final Map map = mapWidget.getMap();

                OSM osm = OSM.Mapnik("Mapnik");
                osm.setIsBaseLayer(true);
                map.addLayer(osm);
                vectorLayer = new Vector("Fence");
                map.addLayer(vectorLayer);
                markers = new Markers("Markers");
                map.addLayer(markers);
View Full Code Here

Examples of org.gwtopenmaps.openlayers.client.layer.OSM

        defaultMapOptions.setNumZoomLevels(16);
        final MapWidget mapWidget = new MapWidget("100%", "100%", defaultMapOptions);
        mapContainer.add(mapWidget);
        final Map map = mapWidget.getMap();

        OSM osm = OSM.Mapnik("Mapnik");
        osm.setIsBaseLayer(true);
        map.addLayer(osm);
        vectorLayer = new Vector("Fence");
        map.addLayer(vectorLayer);
        markers = new Markers("Markers");
        map.addLayer(markers);
View Full Code Here

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

            + gmap.getJSconstructor() + ";\n");
        js.append(getJSinvoke("addLayer(gmap" + gmap.getId() + ","
            + gmap.getId() + ")"));
      }
      if (layer instanceof OSM) {
        OSM osm = (OSM) layer;
        js.append("var osm" + osm.getId() + " ="
            + osm.getJSconstructor() + ";\n");
        js.append(getJSinvoke("addLayer(osm" + osm.getId() + ","
            + osm.getId() + ")"));
      }
      if (layer instanceof WFS) {
        WFS wfs = (WFS) layer;
        js.append("var wfs" + wfs.getId() + " ="
            + wfs.getJSconstructor() + ";\n");
View Full Code Here

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

  public SimpleOpenStreetMapPage(){
   
    List<Layer> layers = new ArrayList<Layer>()
   
    Layer layerOSMTilesAtHome = new OSM("Osmarender", OSMLayer.TilesAtHome);
    Layer layerOSMMapnik = new OSM("Mapnik", OSMLayer.Mapnik);
    Layer layerOSMCycleMap = new OSM("CycleMap", OSMLayer.CycleMap);
   
    layers.add(layerOSMMapnik);
    layers.add(layerOSMTilesAtHome);   
    layers.add(layerOSMCycleMap);
   
View Full Code Here

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

  public SimpleOpenStreetMapPage()
  {

    List<Layer> layers = new ArrayList<Layer>();

    Layer layerOSMTilesAtHome = new OSM("Osmarender", OSMLayer.TilesAtHome);
    Layer layerOSMMapnik = new OSM("Mapnik", OSMLayer.Mapnik);
    Layer layerOSMCycleMap = new OSM("CycleMap", OSMLayer.CycleMap);

    layers.add(layerOSMMapnik);
    layers.add(layerOSMTilesAtHome);
    layers.add(layerOSMCycleMap);
View Full Code Here

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

        js.append("var gmap" + gmap.getId() + " =" + gmap.getJSconstructor() + ";\n");
        js.append(getJSinvoke("addLayer(gmap" + gmap.getId() + "," + gmap.getId() + ")"));
      }
      if (layer instanceof OSM)
      {
        OSM osm = (OSM)layer;
        js.append("var osm" + osm.getId() + " =" + osm.getJSconstructor() + ";\n");
        js.append(getJSinvoke("addLayer(osm" + osm.getId() + "," + osm.getId() + ")"));
      }
      if (layer instanceof WFS)
      {
        WFS wfs = (WFS)layer;
        js.append("var wfs" + wfs.getId() + " =" + wfs.getJSconstructor() + ";\n");
View Full Code Here

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()),

                                // add our vector layer with the data
                                vectorLayer = new Vector(new ServerVector(new GeoJsonFormat(),
                                        new DefaultGeoJsonLoader(
                                                "http://mhc-macris.net:8080/geoserver/MHC/ows?service=WFS"
View Full Code Here

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.<Overlay>asList(

                                // overlay with our marker
View Full Code Here

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())),

                        // view for this map
                        new View(

                                // coordinate of Miles' office
View Full Code Here

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

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

                                        // a OpenStreetMaps tile source
                                        new Osm()),

                                // add our vector layer for the clusters
                                cluster = new Vector(

                                        // our cluster data source
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.