Add setStyle and getStyle to ol.Feature
As with vector layers and feature overlays, feature style can be set by calling setStyle. Calling getStyle returns what was passed to setStyle. Internally, we call getStyleFunction.
This commit is contained in:
@@ -3,3 +3,5 @@
|
||||
@exportProperty ol.Feature.prototype.setGeometryName
|
||||
@exportProperty ol.Feature.prototype.getId
|
||||
@exportProperty ol.Feature.prototype.setId
|
||||
@exportProperty ol.Feature.prototype.getStyle
|
||||
@exportProperty ol.Feature.prototype.setStyle
|
||||
|
||||
Reference in New Issue
Block a user