new alk.style.QueuedLineRouteStyle(opt_options)
This constructor creates a Style Function for displaying lines in the Routing Layer layers.
It extends the functionality of the LineRouteStyle by installing a StrokeQueue that will round robin a collection of strokes depending on a Feature's 'routeId' attribute.
Name | Type | Description |
---|---|---|
options |
Object |
Subclasses
Extends
Members
-
layer{ol.layer.Vector}
-
Methods
-
clearStrokeForRouteId(routeId)
-
This function clears the assigned, if any, stroke style for the given routeId identifier.
Name Type Description routeId
string -
getStrokeQueue(){alk.style.StrokeQueue|undefined}
-
This function returns the stroke Queue.
-
setStrokeQueue(strokeQueue)
-
This function sets the stroke style for this QueuedLineRouteStyle.
Name Type Description strokeQueue
alk.style.StrokeQueue -
setStrokeStyle(strokeStyle) inherited
-
This function sets the stroke style for this LineRouteStyle.
Name Type Description strokeStyle
ol.style.Stroke -
setUpdateStrokeStyle(stroke) inherited
-
This function sets the update stroke style.
Name Type Description stroke
ol.style.Stroke -
styleFunction(feature, resolution){Array.<ol.style.Style>} inherited
-
Name Type Description feature
ol.Feature resolution
number