Package org.geomajas.configuration

Examples of org.geomajas.configuration.GeometryAttributeInfo


    ia.setLabel("id");
    ia.setName("Id");
    ia.setType(PrimitiveType.STRING);
    ft.setIdentifier(ia);

    GeometryAttributeInfo ga = new GeometryAttributeInfo();
    ga.setName("the_geom");
    ga.setEditable(false);
    ft.setGeometryType(ga);

    List<AttributeInfo> attr = new ArrayList<AttributeInfo>();
    PrimitiveAttributeInfo pa = new PrimitiveAttributeInfo();
    pa.setLabel("textAttr");
View Full Code Here


    ia.setLabel("id");
    ia.setName("Id");
    ia.setType(PrimitiveType.STRING);
    ft.setIdentifier(ia);

    GeometryAttributeInfo ga = new GeometryAttributeInfo();
    ga.setName("the_geom");
    ga.setEditable(false);
    ft.setGeometryType(ga);

    List<AttributeInfo> attr = new ArrayList<AttributeInfo>();
    PrimitiveAttributeInfo pa = new PrimitiveAttributeInfo();
    pa.setLabel("Name");
View Full Code Here

      }
    }
    // add the extra style index attribute
    builder.add(STYLE_INDEX_ATTRIBUTE_NAME, Integer.class);
    // add the geometry attribute
    GeometryAttributeInfo geom = info.getFeatureInfo().getGeometryType();
    builder.add(geom.getName(), dtoConverterService.toInternal(info.getLayerType()), mapCrs);
    builder.setDefaultGeometry(geom.getName());
    return builder.buildFeatureType();
  }
View Full Code Here

TOP

Related Classes of org.geomajas.configuration.GeometryAttributeInfo

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.