- Source:
Methods
(static) label(feature, resolution) → {ol.style.Style}
Style function for Zoning District labels
Parameters:
| Name | Type | Description |
|---|---|---|
feature |
ol.Feature | ol.render.Feature | The feature to style |
resolution |
number | The resolution of the view |
- Source:
Returns:
- Type
- ol.style.Style
(static) polygon(feature, resolution) → {ol.style.Style}
Style function for Zoning District polygons
Parameters:
| Name | Type | Description |
|---|---|---|
feature |
ol.Feature | ol.render.Feature | The feature to style |
resolution |
number | The resolution of the view |
- Source:
Returns:
- Type
- ol.style.Style