Class: IconPOILayerStyle

alk.style.IconPOILayerStyle

An instance of this class provides a ol.style.StyleFunction for the alk.layer.POILayer that only draws icons from a set of icons organized by POI Category.

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

styleFunction(feature, resolution){Array.<ol.style.Style>}

Name Type Description
feature ol.Feature
resolution number