Class: RoutingLayerStyle

alk.style.RoutingLayerStyle

This is the base class that provides a styling function for the RouteLayer.

new alk.style.RoutingLayerStyle()

This constructor is the base constructor for styling the Routing Layers.

Subclasses

Extends

  • ol.Object

Members

layer{ol.layer.Vector}

Methods

setUpdating(value)

This method is called when the 'updating' property of alk.layer.RoutingLayer 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>}

This function provides the styleFunction for the Routing Layer.

Name Type Description
feature ol.Feature
resolution number