ALKMaps.Layer.TruckRestrictions

A vector layer for displaying truck restrictions.  Create a new instance with the ALKMaps.Layer.TruckRestrictions constructor.

Inherits from

  • <ALKMaps.Layer.VirtualTile>
Summary
ALKMaps.Layer.TruckRestrictionsA vector layer for displaying truck restrictions.
Properties
language{String} Desired truck restriction language, such as “en”, “de”, “es”.
displayUnit
dataset{String} For users licensed for multiple regional datasets, this parameter will allow users to choose between PCM_EU, PCM_OC, PCM_SA or Current (default).
cacheInterval{Number} Truck restrictions returned from the service will be cached at least for this given period of minutes.
minZoomLevel
wrapDateLine
Constructor
ALKMaps.Layer.TruckRestrictionsA class for truck restriction layer.

Properties

language

{String} Desired truck restriction language, such as “en”, “de”, “es”.

displayUnit

{Number} The units used in restrictions.  Valid values are: 0imperial, 1 - metric.

dataset

{String} For users licensed for multiple regional datasets, this parameter will allow users to choose between PCM_EU, PCM_OC, PCM_SA or Current (default).

cacheInterval

{Number} Truck restrictions returned from the service will be cached at least for this given period of minutes.  Default is 10 minutes.

minZoomLevel

{Number}Truck restrictions start to show when zoom level equals or is greater than this value.

wrapDateLine

Constructor

ALKMaps.Layer.TruckRestrictions

A class for truck restriction layer.

Parameters

name{String} Used to identify this layer.
options{Object} Optional object whose properties will be set on the instance.

Valid options include

language{String} Desired language.  By default, language would be set by the browser language setting.
displayUnit{Number} The units used in restrictions.  Valid values are: 0 - imperial, 1 - metric.
dataset{String} Map data set.
onStartCallback{Function} Service start callback function.
onAddedCallback{Function} Service added callback function.
onErrorCallback{Function} Service error callback function.
minZoomLevel{Number} Minimum zoom level for retrieving traffic . Can’t go lower than 16.
cacheInterval{Number} Indicates how long in minutes will traffic re-cached.
styleMap{ALKMaps.StyleMap} Layer style map.
A class for truck restriction layer.
Close