new SymbolLibInput(options)
Parameters:
Name | Type | Argument | Default | Description |
---|---|---|---|---|
options |
Object | a list of options |
||
option.target |
Element |
<optional> |
||
options.symbolLib |
Collection.<SymbolLib> | |||
options.edit |
boolean |
<optional> |
true | symbol is editable |
option.filter |
Array.<string> |
<optional> |
a list of geometry type to filter, default ['Point', 'LineString', 'Polygon'] |
- Source:
- input/SymbolLibInput.js
Fires:
- item:remove
- item:select
- item:dblclick
- item:duplicate
- item:order
Extends
- InputCollection