Class MeasureLayerFinder
java.lang.Object
com.vividsolutions.jump.workbench.model.SystemLayerFinder
com.vividsolutions.jump.workbench.model.MeasureLayerFinder
A special LayerFinder for the AdvancedMeasureTool.
- Author:
- Matthias Scholz <ms@jammerhund.de>
-
Nested Class Summary
Nested classes/interfaces inherited from class SystemLayerFinder
SystemLayerFinder.NonSavePromptingLayer -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionMeasureLayerFinder(LayerManagerProxy layerManagerProxy, WorkbenchContext context) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidapplyStyles(Layer layer) Return the measurelayer.voidsetMeasure(org.locationtech.jts.geom.Geometry measureGeometry) Sets the new measure Geometry.Methods inherited from class SystemLayerFinder
createLayer, getLayer, getLayerName
-
Field Details
-
FEATURE_ATTRIBUTE_AREA
- See Also:
-
FEATURE_ATTRIBUTE_LENGTH
- See Also:
-
LAYER_NAME
-
-
Constructor Details
-
MeasureLayerFinder
-
-
Method Details
-
applyStyles
- Specified by:
applyStylesin classSystemLayerFinder
-
setMeasure
public void setMeasure(org.locationtech.jts.geom.Geometry measureGeometry) Sets the new measure Geometry. This clears all old Features on the measurelayer and add's the new Features. -
getMeasureLayer
Return the measurelayer. If not exists until now, create a new one.- Returns:
- the measure layer
-