Package chunmap.view.render

Examples of chunmap.view.render.LabelSymbol


        "D:\\Temp\\gs\\city1.shp";
    String path3=
        "D:\\Temp\\gs\\river.shp";

    VectorLayer layer =  LayerFactory.openShapeFile(path1,1);
    layer.setDefaultStyle(new Symbol[]{new GeneralSymbol(),new LabelSymbol()});
    VectorLayer layer2 =  LayerFactory.openShapeFile(path2);
    layer2.setDefaultStyle(new Symbol[]{new GeneralSymbol(Style2D.style2())});
    VectorLayer layer3 =  LayerFactory.openShapeFile(path3);
    layer3.setDefaultStyle(new Symbol[]{new GeneralSymbol(Style2D.style1())});
View Full Code Here


  protected Layer loadLayerData() {
    String path1=
      "D:\\ChunMap\\ChunMap1.1.1\\Data\\gs\\region.shp";

    VectorLayer layer =  LayerFactory.openShapeFile(path1,1);
    layer.setDefaultStyle(new Symbol[]{new GeneralSymbol(),new LabelSymbol()});
    return layer;
  }
View Full Code Here

  }

  private Layer loadLayerData() {
    String path1="D:\\Temp\\mapdata\\cntry02\\cntry02.shp";
    VectorLayer layer =  LayerFactory.openShapeFile(path1,1);
    layer.setDefaultStyle(new Symbol[]{new GeneralSymbol(),new LabelSymbol()});
   
    //reproj
    CoordinateRef target = new CoordinateRef();
        target.setProjection(new Mercator());
    ReProjOp.changeCRS(layer.getFeatures(), target);
View Full Code Here

TOP

Related Classes of chunmap.view.render.LabelSymbol

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.