Package chunmap.view.layer

Examples of chunmap.view.layer.Layer


  private static final long serialVersionUID = -1784496267356795823L;

  @Override
  protected void addLayer(MapCtrl map) {
    //String url="http://localhost:8080/chunmapService/test?SERVICE=GoogleMap";
    Layer layer = new GMLayer();
    map.getLayerCollection().add(layer);
  }
View Full Code Here


    super.init(config);

    key=config.getInitParameter("key");
   
    Capabilities cap = new Capabilities();
    Layer layer = loadLayerData();
    cap.getLayers().add(layer);
   
    cap.setBaseURL("http://localhost:8080/chunmapService/");
    cap.setLink("http://localhost:8080/chunmapService/test");
    cap.setUrl("http://localhost:8080/chunmapService/test");
View Full Code Here

    map.fullView();
    map.refreshMap();
  }
 
  protected void addLayer(MapCtrl map) {
    Layer layer = new GMLayer();
    map.getLayerCollection().add(layer);
//    String url="http://localhost:8080/chunmapService/test?SERVICE=GoogleMap";
//    Layer layer = new GMLayer(url);
//    map.getLayerCollection().add(layer);
  }
View Full Code Here

  public void init(ServletConfig config) throws ServletException {
    Log.log(Logger.Info, "chunmap's googlemap service starting");
    super.init(config);

    List<Layer> layers=new ArrayList<Layer>();
    Layer layer = loadLayerData();
    layers.add(layer);

    Service gms = new GMService(layers);
    ServiceFactory.putService(gms, "GoogleMap");
View Full Code Here

  }

  @Override
  protected void addLayer(MapCtrl map) {
    String testRrl="http://localhost:8080/chunmapService/test?";
    Layer layer=new WmsLayer(testRrl);
   
    map.getLayerCollection().add(layer);
  }
View Full Code Here

    me.init();
  }

  @Override
  protected void addLayer(MapCtrl map) {
    Layer layer = new GMLayer();
    map.getLayerCollection().add(layer);
   
    String path1="D:\\Temp\\mapdata\\cntry02\\cntry02.shp";
    VectorLayer layer1 = (VectorLayer) LayerFactory.openShapeFile(path1);
   
View Full Code Here

  }

  @Override
  protected void addLayer(MapCtrl map) {
    String url="http://localhost:8080/chunmapService/test?SERVICE=GoogleMap";
    Layer layer = new GMLayer(url);
    map.getLayerCollection().add(layer);
  }
View Full Code Here

    StaticGMTest me = new StaticGMTest();
    me.init();
  }
  @Override
  protected void addLayer(MapCtrl map) {
    Layer layer = new StaticGMLayer();
    map.getLayerCollection().add(layer);
  }
View Full Code Here

    me.init();
  }

  @Override
  protected void addLayer(MapCtrl map) {
    Layer layer = loadLayerData();
    map.getLayerCollection().add(layer);
  }
View Full Code Here

    Envelope subEnvelop = new Envelope(92.37175137842411, 31.01897163866643,
        108.8716402641172, 44.2188827472209);
 
    GridDataFactory df = new GridDataFactory(rootPath, parameters,
        subEnvelop, 500, 400);
    Layer layer = df.createLayer();
    return layer;
  }
View Full Code Here

TOP

Related Classes of chunmap.view.layer.Layer

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.