Called when any of the tool 'active' property changes.
The behavior the tool should use when active.
Whether the tool requires the queryable layer or not.
New value.
Register a tool using its active
property name and what behavior it should
have when it is active and a sketch feature is added
This method:
registers a watcher on the tool active property to manage this directive main active property, i.e the directive is considered active when one of the tools is active, otherwise it's not active.
creates a ngeo.misc.ToolActivate
object and registers it in a group so
that only one tool can be active at a time
The name of the active property for the tool.
The behavior the tool should use when active and when sketch features are added.
Optional
opt_requiresLayer: booleanWhether the tool requires the queryable
layer or not. Defaults to false
.
Generated using TypeDoc
Init the controller