public class GeoJSONConfig extends Object
Constructor and Description |
---|
GeoJSONConfig() |
Modifier and Type | Method and Description |
---|---|
void |
addDefaultGeometry(TypeDefinition type,
PropertyEntityDefinition property)
Add a default geometry property.
Each type may only have one property set, a subsequent call with the same type overrides the previous default. |
PropertyEntityDefinition |
getDefaultGeometry(TypeDefinition type)
Returns the default geometry property for the given type.
Geometries must be searched below the given property. |
public void addDefaultGeometry(TypeDefinition type, PropertyEntityDefinition property)
type
- the type to set the default geometry property forproperty
- the default geometry property for the given type (may be
null
)public PropertyEntityDefinition getDefaultGeometry(TypeDefinition type)
type
- the type in questionnull
)Build 2013-10-07_11-27-38
Revision 99b27713a799a59a21b0b166eaaea8aaefbf125a