Package org.geomajas.configuration

Examples of org.geomajas.configuration.VectorLayerInfo


  @Before
  public void setUp() {
    mapModel = new MapModel("test");

    VectorLayerInfo serverLayerInfo1 = new VectorLayerInfo();
    ClientVectorLayerInfo layerInfo1 = new ClientVectorLayerInfo();
    layerInfo1.setLayerInfo(serverLayerInfo1);
    layerInfo1.setMaxExtent(new Bbox(0, 0, 200, 100));
    layerInfo1.setId("layer1");
    layerInfo1.setServerLayerId("layer1");
    layer1 = new VectorLayer(mapModel, layerInfo1);

    VectorLayerInfo serverLayerInfo2 = new VectorLayerInfo();
    ClientVectorLayerInfo layerInfo2 = new ClientVectorLayerInfo();
    layerInfo2.setLayerInfo(serverLayerInfo2);
    layerInfo2.setMaxExtent(new Bbox(0, 0, 250, 125));
    layerInfo2.setId("layer2");
    layerInfo2.setServerLayerId("layer2");
View Full Code Here


  @Before
  public void setUp() {
    mapModel = new MapModel("test");
    vLayerInfo = new ClientVectorLayerInfo();
    VectorLayerInfo serverInfo = new VectorLayerInfo();
    serverInfo.setLayerType(LayerType.POLYGON);
    vLayerInfo.setLayerInfo(serverInfo);
    vLayerInfo.setMaxExtent(new Bbox(0, 0, 180, 180));
    vLayerInfo.setServerLayerId("test");
    vLayer = new VectorLayer(mapModel, vLayerInfo);
View Full Code Here

    ClientMapInfo info = new ClientMapInfo();
    info.setCrs("EPSG:4326");
    info.setInitialBounds(new Bbox(0, 0, 180, 180));

    ClientVectorLayerInfo layerInfo = new ClientVectorLayerInfo();
    VectorLayerInfo serverInfo = new VectorLayerInfo();
    serverInfo.setLayerType(LayerType.POLYGON);
    layerInfo.setLayerInfo(serverInfo);
    layerInfo.setMaxExtent(new Bbox(0, 0, 180, 180));
    layerInfo.setServerLayerId("test");
    layerInfo.setId("testLayer");
    List<ClientLayerInfo> layers = new ArrayList<ClientLayerInfo>();
View Full Code Here

TOP

Related Classes of org.geomajas.configuration.VectorLayerInfo

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.