Class: QueuedStyleLayerStyle

alk.style.QueuedStyleLayerStyle

An instance of this class provides a ol.style.StyleFunction that styles items based on an id.

new alk.style.QueuedStyleLayerStyle(opt_options)

This constructor creates a Style Function that rotates styles based upon a given id.

Name Type Description
options Object

Subclasses

Extends

Members

layer{ol.layer.Vector}

Methods

clearStyleForId(id)

This function clears the assigned, if any, stroke style for the given routeId identifier.

Name Type Description
id string

getStyleQueue(){alk.style.StyleQueue|undefined}

This function returns the stroke Queue.

setStyleQueue(styleQueue)

This function sets the stroke style for this QueuedStyleLayerStyle.

Name Type Description
styleQueue alk.style.StyleQueue

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

Name Type Description
feature ol.Feature
resolution number