new alk.style.IconPOILayerStyle(opt_options)
This constructor creates a Style Function to style the POI Layer.
Name | Type | Description |
---|---|---|
options |
Object |
Extends
Members
-
layer{ol.layer.Vector}
-
Methods
-
setLayer(layer) inherited
-
This method is called by the POILayer when installed. This method also registers for the 'updating' property change on the layer and calls
alk.style.POILayerStyle#setUpdating
.Name Type Description layer
ol.layer.Vector -
setUpdating(value) inherited
-
This method is called when the 'updating' property of
alk.layer.POILayer
is changed. This call gives the style the ability to style things differently when being updated.Name Type Description value
boolean -
styleFunction(feature, resolution){Array.<ol.style.Style>}
-
Name Type Description feature
ol.Feature resolution
number