new SymbolLib(options)
Constructor
Parameters:
| Name | Type | Description | ||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
options |
options |
Properties
|
- Source:
- style/SymbolLib.js
Fires:
- event:load
Extends
- ol_Object
Methods
-
getIgnStyle()
-
Get ign style
- Source:
- style/SymbolLib.js
Returns:
- Type
- ignStyle
-
getImage( [clone])
-
Get symbol image
Parameters:
Name Type Argument Default Description cloneboolean <optional>
false - Source:
- style/SymbolLib.js
Returns:
- Type
- HTMLCanvasElement
-
getType()
-
Get geometry type
- Source:
- style/SymbolLib.js
Returns:
Point|LineString|Polygon
- Type
- string
-
setFeatureProperties(prop)
-
Set properties associated with the style
Parameters:
Name Type Description propObject a list of properties
- Source:
- style/SymbolLib.js
-
setIgnStyle(style)
-
Set ign style
Parameters:
Name Type Description styleignStyle - Source:
- style/SymbolLib.js
-
stringify()
-
Get as string
- Source:
- style/SymbolLib.js
Returns:
- Type
- string