Constructor
new Selection()
Parameters:
Name | Type | Attributes | Default | Description |
---|---|---|---|---|
options.ignoreTerrain | boolean | <optional> | false | |
options.onSelect | function | callback (extent) => {} where extent is selected extent array [minLon,minLat,maxLon,maxLat] | ||
options.autoSelectionHide | boolean | <optional> | false | clear selection rectangle after passing extent to callback |