This example shows how to use the ngeo-map-query directive. It also shows how the ngeo.misc.ToolActivate can be used to make the directive inactive when an other tool becomes active. The "Dummy" button here does nothing, but when toggled the query directive becomes inactive.

Dummy