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 routeIdstring -
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 strokeQueuealk.style.StrokeQueue -
setStrokeStyle(strokeStyle) inherited
-
This function sets the stroke style for this LineRouteStyle.
Name Type Description strokeStyleol.style.Stroke -
setUpdateStrokeStyle(stroke) inherited
-
This function sets the update stroke style.
Name Type Description strokeol.style.Stroke -
styleFunction(feature, resolution){Array.<ol.style.Style>} inherited
-
Name Type Description featureol.Feature resolutionnumber