Skip to main content

Layers

Layers provide a simpler means for overlaying data onto the map in a format that is viewable to the user. The ALK Maps plugin for OpenLayers uses these layers to integrate the data returned from ALK’s services with OpenLayers’s existing source code in way that allows the developer to seamlessly incorporate ALK Maps into any OpenLayers script.

Layers provided by the ALK Maps plugin are handled in the same way as any other OpenLayers layers.

Base Map Layer

The alk.layer.MapLayer layer provides the ALK Maps tiles used to display the map. For a more detailed explanation on the MapLayer please visit the MapLayer Page.

Routing Layer

The alk.layer.RoutingLayer layer has the ability to display multiple routes on the map in addition to retrieving various reports for each of those routes. In addition to the Routing Layer, a Routing Source much also be added. For a more detailed explanation on the Routing layer please visit the Routing Layer Page.

Traffic Layer

The alk.layer.TrafficLayer layer has the ability to display live or historical traffic data on the map. For a more detailed explanation on the Traffic layer please visit the Traffic Layer Page.

WeatherRadar Layer

The alk.layer.WeatherRadarLayer layer has the ability to overlay live weather radar or satellite weather imagery on your map. For a more detailed explanation on the WeatherRadar layer please visit the WeatherRadar Layer Page.

WeatherAlerts Layer

The alk.layer.WeatherAlertsLayer layer can be used to display weather alerts data provided by the National Weather Service. For a more detailed explanation on the WeatherAlerts layer please visit the WeatherAlerts Layer Page.

Last updated November 23, 2021.