Class: RoadSurfaceStyle

alk.style.RoadSurfaceStyle

An instance of this class provides a styling function for the Road Surface Layer.

new alk.style.RoadSurfaceStyle()

This constructor creates a Style Function for styling Road Surfaces Layer.

Extends

  • ol.Object

Members

layer{ol.layer.Vector}

Methods

setUpdating(value)

This method is called when the 'updating' property of alk.layer.RoadSurfaceTileLayer 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 Road Surface Layer.

Name Type Description
feature ol.Feature
resolution number