new bboxQueryDirective(ngeoMapQuerent)
Provides a "bbox query" directive.
This directive is responsible of binding a map and the ngeo query service together. While active, drawing a bbox while CTRL or the 'meta' key is pressed issues a request 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:
Example:
<span
ngeo-bbox-query=""
ngeo-bbox-query-map="::ctrl.map"
ngeo-bbox-query-active="ctrl.queryActive">
ngeo-bbox-query-autoclear="ctrl.queryAutoClear">
</span>
See the live example: ../examples/bboxquery.html
Returns:
angular.Directive
The Directive Definition Object.