Selection

Activate Selection

Constructor

new Selection()

Parameters:
NameTypeAttributesDefaultDescription
options.ignoreTerrainboolean<optional>
false
options.onSelectfunction

callback (extent) => {} where extent is selected extent array [minLon,minLat,maxLon,maxLat]

options.autoSelectionHideboolean<optional>
false

clear selection rectangle after passing extent to callback