new directive_(ngeoMapQuerent, $injector)
Provides a "map query" directive.
This directive is responsible of binding a map and the ngeo query service together. While active, clicks made on the map are listened by the directive and a request gets issued to the query service.
This directive doesn't require to be rendered in a visible DOM element, but it could be used with a ngeo-btn to manage the activation of the directive. See below an example without any use of UI:
<span ngeo-map-query="" ngeo-map-query-map="::ctrl.map" ngeo-map-query-active="ctrl.queryActive" ngeo-map-query-autoclear="ctrl.queryAutoClear"> </span>
See our live example: ../examples/mapquery.html
The Directive Definition Object.