Class: objecteditingtoolsDirective directive:gmfObjecteditingtools

gmf.objecteditingtoolsDirective

new objecteditingtoolsDirective()

Directive used to edit the geometry of a single feature using advanced tools.

Example:

<gmf-objecteditingtools
    gmf-objecteditingtools-active="ctrl.objectEditingActive"
    gmf-objecteditingtools-copyfromactive="ctrl.objectEditingCopyFromActive"
    gmf-objecteditingtools-deletefromactive="ctrl.objectEditingDeleteFromActive"
    gmf-objecteditingtools-feature="ctrl.objectEditingFeature"
    gmf-objecteditingtools-geomtype="ctrl.objectEditingGeomType"
    gmf-objecteditingtools-map="::ctrl.map"
    gmf-objecteditingtools-process="::ctrl.process"
    gmf-objecteditingtools-queryablelayerinfo="::ctrl.queryableLayerInfo"
    gmf-objecteditingtools-requireslayer="ctrl.requiresLayer"
    gmf-objecteditingtools-sketchfeatures="::ctrl.sketchFeatures">
</gmf-objecteditingtools>
HTML attributes:
Name Type Description
gmf-objecteditingtools-active boolean Whether the directive is active or not.
gmf-objecteditingtools-copyfromactive boolean Whether the 'Copy from' tool is active or not.
gmf-objecteditingtools-deletefromactive boolean Whether the 'Delete from' tool is active or not.
gmf-objecteditingtools-feature ol.Feature The feature to edit.
gmf-objecteditingtools-geomtype string The geometry type.
gmf-objecteditingtools-map ol.Map The map.
gmf-objectediting-process string Determines the behavior to adopt when sketch features are added.
gmf-objectediting-queryablelayerinfo gmf.ObjectEditingQuery.QueryableLayerInfo Queryable layer information.
gmf-objectediting-requireslayer boolean Flag that determines if the currently active tool requires a queryable layer or not.
gmf-objectediting-sketchfeatures ol.Collection:.<ol.Feature:> Collection of temporary features being drawn by the tools.
Returns:
angular.Directive

The directive specs.