This namespace holds all the typedefs for the API. The names contains herein do not exist as classes and objects in the API. They are merely here for reference as to their structure.
Type Definitions
-
alkx.AFMapLink{Object}
-
-
alkx.AFPoint{Object}
-
-
alkx.AttributionJSON{Object}
-
This structure types the return from the ALK Services attribution call.
-
alkx.AvoidFavorMapLink{Object}
-
-
alkx.AvoidFavorSet{Object}
-
-
alkx.AvoidFavorSetsServiceAddOptions{Object}
-
Properties:
Name Type Argument Description setIdstring | undefined <optional>
avoidFavorMapLinkalkx.AvoidFavorMapLink | undefined <optional>
-
alkx.AvoidFavorSetsServiceAddResponse{number}
-
-
alkx.AvoidFavorSetsServiceDeleteOptions{Object}
-
Properties:
Name Type Argument Description setIdnumber | string | undefined <optional>
afIdnumber | string | undefined <optional>
-
alkx.AvoidFavorSetsServiceDeleteResponse{number}
-
-
alkx.AvoidFavorSetsServiceGetOptions{Object}
-
Properties:
Name Type Argument Description idnumber | string | undefined <optional>
tagstring | undefined <optional>
detailboolean | string | undefined <optional>
namestring | undefined <optional>
-
alkx.AvoidFavorSetsServiceGetResponse{Array.<alkx.AvoidFavorSet>}
-
-
alkx.AvoidFavorSetsServiceOptions{Object}
-
This typedef is a catch all that contains all the options that are given to
alk.service.AvoidFavorSetsServiceobjects and their subclasses.Properties:
Name Type Description apiKeystring This option contains the ALK ApiKey that gives you permission to extract data from ALK Servers.
hostURLstring This option contains the the host and port URL for the particular service. This option is not set by the user, but is automatically generated from the particular service being used.
pathstring This option is the path part of the URL for the particular service. This option is not set by the user, but is automatically generated from the particular service being used.
-
alkx.AvoidFavorSetsServiceUpdateOptions{Object}
-
Properties:
Name Type Argument Description setIdstring | undefined <optional>
avoidFavorMapLinkalkx.AvoidFavorMapLink | undefined <optional>
-
alkx.AvoidFavorSetsServiceUpdateResponse{Array.<alkx.AvoidFavorSet>}
-
-
alkx.AvoidFavorsServiceAddOptions{Object}
-
Properties:
Name Type Argument Description setIdstring | undefined <optional>
avoidFavorMapLinkalkx.AvoidFavorMapLink | undefined <optional>
-
alkx.AvoidFavorsServiceAddResponse{Array.<alkx.AFMapLink>}
-
-
alkx.AvoidFavorsServiceDeleteOptions{Object}
-
Properties:
Name Type Argument Description setIdstring | undefined <optional>
afIdnumber | string | undefined <optional>
-
alkx.AvoidFavorsServiceDeleteResponse{number}
-
-
alkx.AvoidFavorsServiceOptions{Object}
-
This typedef is a catch all that contains all the options that are given to
alk.service.AvoidFavorsServiceobjects and their subclasses.Properties:
Name Type Description setIdnumber | string This option contains the setId that names to which the subsequent calls will pertain.
hostURLstring This option contains the the host and port URL for the particular service. This option is not set by the user, but is automatically generated from the particular service being used.
pathstring This option is the path part of the URL for the particular service. This option is not set by the user, but is automatically generated from the particular service being used.
-
alkx.BaseMapLayerOptions{Object}
-
Properties:
Name Type Argument Description sourceOptionsalkx.BaseMapSourceOptions | undefined <optional>
This option provides the options to create the
alk.source.BaseMapSourcesource and itsalk.service.MapTileServiceservice that will supply the URL to get the base map layer tiles.opacitynumber | undefined <optional>
This option is an OpenLayer Vector Layer Option.
Opacity (0, 1). Default is
1.preloadnumber | undefined <optional>
This option is an OpenLayer Vector Layer Option.
Preload. Load low-resolution tiles up to
preloadlevels. By defaultpreloadis0, which means no preloading.mapol.PluggableMap | undefined <optional>
This option is an OpenLayer Vector Layer Option.
Sets the layer as overlay on a map. The map will not manage this layer in its layers collection, and the layer will be rendered on top. This is useful for temporary layers. The standard way to add a layer to a map and have it managed by the map is to use
ol.Map#addLayer.visibleboolean | undefined <optional>
This option is an OpenLayer Vector Layer Option.
Visibility. Default is
true(visible).extentol.Extent | undefined <optional>
This option is an OpenLayer Vector Layer Option.
The bounding extent for layer rendering. The layer will not be rendered outside of this extent.
minResolutionnumber | undefined <optional>
This option is an OpenLayer Vector Layer Option.
The minimum resolution (inclusive) at which this layer will be visible.
maxResolutionnumber | undefined <optional>
This option is an OpenLayer Vector Layer Option.
The maximum resolution (exclusive) below which this layer will be visible.
useInterimTilesOnErrorboolean | undefined <optional>
This option is an OpenLayer Vector Layer Option.
Use interim tiles on error. Default is
true.zIndexnumber | undefined <optional>
This option is an OpenLayer Vector Layer Option.
The z-index for layer rendering. At rendering time, the layers will be ordered, first by Z-index and then by position. The default Z-index is 0.
-
alkx.BaseMapSourceOptions{Object}
-
This typedef describes the options to be given to the
alk.source.BaseMapSourceconstructor.Properties:
Name Type Argument Description serviceOptionsalkx.MapTileServiceOptions | undefined <optional>
This option contains the options to create the
alk.service.MapTileServiceservice that creates the URL to get the map tiles.attributionsol.AttributionLike | undefined <optional>
This option is an OpenLayers option passed to the
ol.source.XYZsuper class of thealk.source.XYZSourceobject from its subclasses.Attributions.
cacheSizenumber | undefined <optional>
This option is an OpenLayers option passed to the
ol.source.XYZsuper class of thealk.source.XYZSourceobject from its subclasses.Cache size. Default is 2048.
crossOriginnull | string | undefined <optional>
This option is an OpenLayers option passed to the
ol.source.XYZsuper class of thealk.source.XYZSourceobject from its subclasses.The crossOrigin attribute for loaded images. Note that you must provide a
crossOriginvalue if you are using the WebGL renderer or if you want to access pixel data with the Canvas renderer. See [https://developer.mozilla.org/en-US/docs/Web/HTML/CORS_enabled_image] for more detail.opaqueboolean | undefined <optional>
This option is an OpenLayers option passed to the
ol.source.XYZsuper class of thealk.source.XYZSourceobject from its subclasses.Whether the layer is opaque.
projectionol.ProjectionLike | undefined <optional>
This option is an OpenLayers option passed to the
ol.source.XYZsuper class of thealk.source.XYZSourceobject from its subclasses.This options contains the projection with which to interpret other options, such as the extent.
reprojectionErrorThresholdnumber | undefined <optional>
This option is an OpenLayers option passed to the
ol.source.XYZsuper class of thealk.source.XYZSourceobject from its subclasses.Maximum allowed reprojection error (in pixels). Default is 0.5. Higher values may increase reprojection performance, but decrease precision.
stateol.source.State | undefined <optional>
Source state.
wrapXboolean | undefined <optional>
This option is an OpenLayers option passed to the
ol.source.XYZsuper class of thealk.source.XYZSourceobject from its subclasses.Whether to wrap the world horizontally. The default,
undefined, is to request out-of-bounds tiles from the server. When set tofalse, only one world will be rendered. When set totrue, tiles will be requested for one world only, but they will be wrapped horizontally to render multiple worlds. -
alkx.ContextMenuOptionItem{Object}
-
The menu item definition for the
ContextMenu.Properties:
Name Type Description separatorboolean | undefined textstring | undefined onclickfunction | undefined -
alkx.ContextMenuOptions{Object}
-
The menu item definition for the
alk.control.ContextMenu.Properties:
Name Type Argument Description ctxMenuItemsArray.<alkx.ContextMenuOptionItem> | undefined <optional>
menuItemsObject.<string, (string|boolean)> | undefined <optional>
-
alkx.CountriesSingleSearchServiceOptions{Object}
-
This typedef specifies the options needed for the constructor and get functions of the
alk.service.CountriesSingleSearchService.Properties:
Name Type Description apiKeystring This option contains the ALK ApiKey that gives you permission to extract data from ALK Servers.
codesArray.<string> | string This option specifies the FIPS codes for counties in the search.
datasetalk.val.Dataset | number | string The option contains the Dataset parameter for the Service. This option specifies an area dataset that may be pertinent to the request.
hostURLstring This option contains the the host and port URL for the particular service. This option is not set by the user, but is automatically generated from the particular service being used.
pathstring This option is the path part of the URL for the particular service. This option is not set by the user, but is automatically generated from the particular service being used.
regionalk.val.Region | number | string This option tells the service in which region the retrieved data is to pertain. Some ALK Services switch underlying services due to this option. For instance, traffic data for North America and Europe may come from different underlying services.
-
alkx.CountriesSingleSearchServiceResponse{Object}
-
-
alkx.CountriesSingleSearchServiceResult{Object}
-
-
alkx.CustomCategoriesCategory{Object}
-
-
alkx.CustomCategoriesServiceAddOptions{Object}
-
Properties:
Name Type Argument Description idnumber | string | undefined <optional>
namestring | undefined <optional>
iconstring | undefined <optional>
iconURLstring | undefined <optional>
tagstring | undefined <optional>
-
alkx.CustomCategoriesServiceAddResponse{number}
-
-
alkx.CustomCategoriesServiceDeleteOptions{Object}
-
Properties:
Name Type Description idnumber | string | undefined -
alkx.CustomCategoriesServiceGetOptions{Object}
-
Properties:
Name Type Argument Description idnumber | string | undefined <optional>
tagstring | undefined <optional>
namestring | undefined <optional>
-
alkx.CustomCategoriesServiceGetResponse{Array.<alkx.CustomCategoriesCategory>}
-
-
alkx.CustomCategoriesServiceOptions{Object}
-
This typedef is a catch all that contains all the options that are given to
alk.service.CustomCategoriesServiceobjects and their subclasses.Properties:
Name Type Description apiKeystring This option contains the ALK ApiKey that gives you permission to extract data from ALK Servers.
hostURLstring This option contains the the host and port URL for the particular service. This option is not set by the user, but is automatically generated from the particular service being used.
pathstring This option is the path part of the URL for the particular service. This option is not set by the user, but is automatically generated from the particular service being used.
-
alkx.CustomCategoriesServiceUpdateOptions{Object}
-
Properties:
Name Type Argument Description idnumber | string | undefined <optional>
namestring | undefined <optional>
iconstring | undefined <optional>
iconURLstring | undefined <optional>
tagstring | undefined <optional>
-
alkx.CustomCategoriesServiceUpdateResponse{number}
-
-
alkx.CustomPlacesAddress{Object}
-
Properties:
Name Type Description streetAddressstring | undefined citystring | undefined statestring | undefined countystring | undefined zipstring | undefined -
alkx.CustomPlacesCoords{Object}
-
Properties:
Name Type Description lonnumber | undefined latnumber | undefined -
alkx.CustomPlaceSetsServiceAddOptions{Object}
-
Properties:
Name Type Argument Description setIdstring | undefined <optional>
placealkx.CustomPlacesPlace | undefined <optional>
-
alkx.CustomPlaceSetsServiceAddResponse{number}
-
-
alkx.CustomPlaceSetsServiceDeleteOptions{Object}
-
Properties:
Name Type Argument Description setIdnumber | string | undefined <optional>
placeIdnumber | string | undefined <optional>
-
alkx.CustomPlaceSetsServiceDeleteResponse{number}
-
-
alkx.CustomPlaceSetsServiceGetOptions{Object}
-
Properties:
Name Type Argument Description idnumber | string | undefined <optional>
tagstring | undefined <optional>
includePlacesboolean | string | undefined <optional>
placeNamestring | undefined <optional>
catIdnumber | string | undefined <optional>
catNamestring | undefined <optional>
extentArray.<number> | undefined <optional>
-
alkx.CustomPlaceSetsServiceGetResponse{Array.<alkx.CustomPlacesSet>}
-
-
alkx.CustomPlaceSetsServiceOptions{Object}
-
This typedef is a catch all that contains all the options that are given to
alk.service.CustomPlaceSetsServiceobjects and their subclasses.Properties:
Name Type Description apiKeystring This option contains the ALK ApiKey that gives you permission to extract data from ALK Servers.
hostURLstring This option contains the the host and port URL for the particular service. This option is not set by the user, but is automatically generated from the particular service being used.
pathstring This option is the path part of the URL for the particular service. This option is not set by the user, but is automatically generated from the particular service being used.
-
alkx.CustomPlaceSetsServiceUpdateOptions{Object}
-
Properties:
Name Type Argument Description setIdstring | undefined <optional>
placealkx.CustomPlacesPlace | undefined <optional>
-
alkx.CustomPlaceSetsServiceUpdateResponse{number}
-
-
alkx.CustomPlacesPlace{Object}
-
Properties:
Name Type Description idnumber | string | undefined customPlaceIdnumber | string | undefined categoryIdstring | undefined phonestring | undefined addressalkx.CustomPlacesAddress | undefined coordsalkx.CustomPlacesCoords | undefined dataRegionnumber | undefined placeNamestring | undefined -
alkx.CustomPlacesServiceAddOptions{Object}
-
Properties:
Name Type Argument Description setIdstring | undefined <optional>
placealkx.CustomPlacesPlace | undefined <optional>
-
alkx.CustomPlacesServiceAddResponse{number}
-
-
alkx.CustomPlacesServiceDeleteOptions{Object}
-
Properties:
Name Type Argument Description setIdnumber | string | undefined <optional>
placeIdnumber | string | undefined <optional>
-
alkx.CustomPlacesServiceDeleteResponse{number}
-
-
alkx.CustomPlacesServiceOptions{Object}
-
This typedef is a catch all that contains all the options that are given to
alk.service.CustomPlacesServiceobjects and their subclasses.Properties:
Name Type Description setIdnumber | string This option contains the setId that names to which the subsequent calls will pertain.
apiKeystring This option contains the ALK ApiKey that gives you permission to extract data from ALK Servers.
hostURLstring This option contains the the host and port URL for the particular service. This option is not set by the user, but is automatically generated from the particular service being used.
pathstring This option is the path part of the URL for the particular service. This option is not set by the user, but is automatically generated from the particular service being used.
-
alkx.CustomPlacesServiceUpdateOptions{Object}
-
Properties:
Name Type Argument Description setIdstring | undefined <optional>
placealkx.CustomPlacesPlace | undefined <optional>
-
alkx.CustomPlacesServiceUpdateResponse{number}
-
-
alkx.CustomPlacesSet{Object}
-
Properties:
Name Type Description Idstring | undefined Namestring | undefined Tagstring | undefined PlacesArray.<alkx.CustomPlacesPlace> | undefined -
alkx.DefaultOptions{Object}
-
This typedef specifies options for running environment default
alk.defaultsProperties:
Name Type Description imageHostURLstring The URL the images are at. Must be of "/Content/Images/icon".
httpsboolean If HTTP is preferred for the web service calls, set this to false. Otherwise, HTTPS will be used.
-
alkx.DriveTimeLayerOptions{Object}
-
Properties:
Name Type Argument Description sourcealk.source.DriveTimePolygon | undefined <optional>
This option contains the
alk.source.DriveTimePolygon.driveTimePolygonServiceOptionsalkx.DriveTimePolygonServiceOptions | undefined <optional>
This option contains the options that are given to the underlying
alk.service.DriveTimePolygonServiceto create the polygons.frameRouteboolean | undefined <optional>
This option specifies when the to the underlying
alk.service.DriveTimePolygonServicecompletes successfully, the map will zoom and center to fit the extent of its features.renderOrderol.RenderOrderFunction | null | undefined <optional>
This option is an OpenLayer Vector Layer Option.
Render Order. Function to be used when sorting features before rendering. By default features are drawn in the order that they are created. Use null to avoid the sort, but get an undefined draw order. Required.
The default order of creation is, route lines, then stops in order from origin to destination.
minResolutionnumber | undefined <optional>
This option is an OpenLayer Vector Layer Option.
The minimum resolution (inclusive) at which this layer will be visible.
maxResolutionnumber | undefined <optional>
This option is an OpenLayer Vector Layer Option.
The maximum resolution (exclusive) below which this layer will be visible.
declutterboolean | undefined <optional>
This option is an OpenLayer Vector Layer Option.
Declutter images and text. Decluttering is applied to all image and text styles, and the priority is defined by the z-index of the style. Lower z-index means higher priority. Default is false.
extentol.Extent | undefined <optional>
This option is an OpenLayer Vector Layer Option.
The bounding extent for layer rendering. The layer will not be rendered outside of this extent.
opacitynumber | undefined <optional>
This option is an OpenLayer Vector Layer Option.
Opacity (0, 1). Default is
1.renderBuffernumber | undefined <optional>
This option is an OpenLayer Vector Layer Option.
The buffer around the viewport extent used by the renderer when getting features from the vector source for the rendering or hit-detection. Recommended value: the size of the largest symbol, line width, or label. Default is 100 pixels.
mapol.PluggableMap | undefined <optional>
This option is an OpenLayer Vector Layer Option.
Sets the layer as overlay on a map. The map will not manage this layer in its layers collection, and the layer will be rendered on top. This is useful for temporary layers. The standard way to add a layer to a map and have it managed by the map is to use
ol.Map#addLayer.stylealk.style.DriveTimeLayerStyle | alk.style.StyleQueue | Array.<ol.style.Style> | ol.style.Style | Array.<ol.style.Style> | ol.StyleFunction | undefined <optional>
This option specifies the style or style function to be used in drawing the polygons. The default is to use a
alk.style.QueuedStyleLayerStyleobject that cycles through a set of default corresponding fill and stroke colors.If the style is a
alk.style.DriveTimeLayerStyleit is used directly. All others result in creating aalk.style.DriveTimeLayerStylewith the given style. If the style is aalk.style.StyleQueueit creates a DriveTimePolygonLayerStyle with this StyleQueue. This approach allows you to direct which colors are drawn for polygons on different drive time layers.If the style is a single style, it sets up a StyleQueue containing that stroke. If it is an array of Styles, it sets up a StyleQueue containing those styles.
If it is anything else, the style is passed to the ol.layer.Vector for default styling.
updateWhileAnimatingboolean | undefined <optional>
This option is an OpenLayer Vector Layer Option.
When set to true, feature batches will be recreated during animations. This means that no vectors will be shown clipped, but the setting will have a performance impact for large amounts of vector data. When set to false, batches will be recreated when no animation is active. Default is false.
updateWhileInteractingboolean | undefined <optional>
This option is an OpenLayer Vector Layer Option.
When set to true, feature batches will be recreated during interactions. See also
updateWhileAnimating.visibleboolean | undefined <optional>
This option is an OpenLayer Vector Layer Option.
Visibility. Default is
true(visible).zIndexnumber | undefined <optional>
This option is an OpenLayer Vector Layer Option.
The z-index for layer rendering. At rendering time, the layers will be ordered, first by Z-index and then by position. The default Z-index is 0.
declutterboolean | undefined <optional>
This option is an OpenLayer Vector Layer Option.
Declutter images and text. Decluttering is applied to all image and text styles, and the priority is defined by the z-index of the style. Lower z-index means higher priority. Default is false.
zIndexnumber | undefined <optional>
This option is an OpenLayer Vector Layer Option.
The z-index for layer rendering. At rendering time, the layers will be ordered, first by Z-index and then by position. The default Z-index is 0.
-
alkx.DriveTimeLayerStyleOptions{Object}
-
Properties:
Name Type Description styleQueueThis option contains the styleQueue to use.
-
alkx.DriveTimePolygonServiceOptions{Object}
-
This typedef contains all the options that are given to
alk.service.DriveTimePolygonServiceobjects and their subclasses.alk.val.VehicleDimensionUnits.English- 12'6", 12.0 (feet)
alk.val.VehicleDimensionUnits.Metric- 4.114 (meters)
Properties:
Name Type Description apiKeystring This option contains the ALK ApiKey that gives you permission to extract data from ALK Servers.
datasetalk.val.Dataset | number | string The option contains the Dataset parameter for the Service. This option specifies an area dataset that may be pertinent to the request.
hostURLstring This option contains the the host and port URL for the particular service. This option is not set by the user, but is automatically generated from the particular service being used.
pathstring This option is the path part of the URL for the particular service. This option is not set by the user, but is automatically generated from the particular service being used.
regionalk.val.Region | number | string This option tells the service in which region the retrieved data is to pertain. Some ALK Services switch underlying services due to this option. For instance, traffic data for North America and Europe may come from different underlying services.
srsalk.val.SRS | number | string This option tells the service the particular projection that is used any GIS data given to the service.
centerArray.<number> | string This option contains the center of the search.
minutesnumber | string This option contains the number of driving minutes, with which to size the polygon.
vehicleTypealk.val.VehicleType | number | string This option tells the service the type of vehicle that is requesting the route.
routeTypealk.val.RouteType | number | string This option tells the service the type of the route requested. It can be
alk.val.RouteType.Practicaloralk.val.RouteType.Shortest.highwayOnlyboolean | number | string This option tells the service to generate a route that will travel mostly along highways.
avoidFavorsboolean | number | string This option tells the service whether or not to use avoids and favors while routing.
overrideClassArray.<(alk.val.OverrideClass|number)> | string This option tells the service the classes of vehicle travel. Such as
alk.val.OverrideClass.NationalNetworkoralk.val.OverrideClass.FiftyThreeFoot.distanceUnitsalk.val.DistanceUnits | number | string This option tells the service that any distance measurements will be delivered in these units, such as
alk.val.DistanceUnits.Kilometersoralk.val.DistanceUnits.Miles.avoidTollsboolean | number | string This option tells the service to avoid toll roads and bridges while creating the route.
openBordersboolean | number | string This option tells the service if the borders are open for travel.
overrideRestrictboolean | number | string This option tells the service whether to override truck restrictions.
hazMatalk.val.HazMat | number | string This option tells the service the hazardous material type.
vehicleDimensionUnitsalk.val.VehicleDimensionUnits | number | string This option tells the service in what units, metric or otherwise, the vehicle measurements are presented. Can be either
vehicleHeightnumber | string This option contains the height measurement of the vehicle.
vehicleLengthnumber | string This option contains the length measurement of the vehicle.
vehicleWidthnumber | string This option contains the width measurement of the vehicle.
vehicleWeightnumber | string This option contains the weight measurement of the vehicle.
axlesnumber | string This option contains the number of axles on the vehicle.
truckConfigalk.val.TruckConfig | number | string This option specifies the particular vehicle configuration, such as
alk.val.TruckConfig.FullSizeVan, etc.lcvboolean | number | string This option tells whether the truck is a multi-trailer or longer combination vehicle.
elevationLimitnumber | string This option tells the service the distance above sea level to keep the route. Its value is interpreted according to the 'distanceUnits' option.
afSetIdsArray.<(string|number)> | string This option lists the avoid/favor sets to the route.
ferryDiscourageboolean | number | string This option tells the service to avoid ferries when creating the route.
governorSpeedLimitnumber | string This option tells the service the maximum average road speed to use in route calculations that overrides all other road speeds when the are above this value. Default is disabled and valid values are between 1 and 100mph. TODO: Is this always in MPH when distanceUnits is Kilometers?
tollDiscourageboolean | number | string This option tells the service to avoid tolls. Use 'avoidTolls'.
classOverridesArray.<(alk.val.OverrideClass|number)> | string This option tells the service the travel class overrides. Use 'classOverrides'.
routingTypealk.val.RouteType | number | string This option tells the route type. See
alkx.RouteServiceOptions#routeType.hazMatTypealk.val.HazMat | number | string This option tells the service the HazMat conditions in effect. Use 'hazMat'.
trkUnitsalk.val.VehicleDimensionUnits | number | string This option contains the measurement units for the vehicle. Use 'vehicleDimensionUnits'.
trkHeightnumber | string This option contains the height of the vehicle. Use 'vehicleHeight'.
trkLengthnumber | string This option contains the length of the vehicle. Use 'vehicleLength'.
trkWidthnumber | string This option contains the width of the vehicle. Use 'vehicleWidth'.
trkWeightnumber | string This option contains the weight of the vehicle. Use 'vehicleHeight'.
trkAxlesnumber | string This option contains the number of axles on the vehicle. Use 'axles'.
trkLCVboolean | number | string This option indicates whether the vehicle is a multi-trailer or longer combination. Use 'lcv'.
-
alkx.DriveTimePolygonServiceResponse{Object}
-
This structure types the return from the
alk.service.RouteService#getcall.Properties:
Name Type Description driveTimePolygonServiceOptionsalkx.DriveTimePolygonServiceOptions | undefined This property holds the options that were made to make the call to the
alk.service.DriveTimePolygonService.resultalkx.DriveTimePolygonServiceResult This property contains the result of the call to the
alk.service.DriveTimePolygonService. If the result is null or undefined, the call failed. It is a list of a list of coordinates, which is a list of numbers. -
alkx.DriveTimePolygonServiceResult{Object}
-
-
alkx.DriveTimePolygonSourceOptions{Object}
-
Properties:
Name Type Argument Description driveTimePolygonServiceOptionsalk.service.DriveTimePolygonService This option contains the DriveTimePolygon service options with which to create the DriveTimePolygonService used internally.
wrapXboolean | undefined <optional>
Wrap the world horizontally. Default is
true. For vector editing across the -180° and 180° meridians to work properly, this should be set tofalse. The resulting geometry coordinates will then exceed the world bounds. -
alkx.EditTrailRoutingLayerKeyShortCutsOptions{Object}
-
This typedef is for the
alk.layer.EditTrailRoutingLayerKeyShortCutsconstructor.In order for this interaction to work, a keyboardEventTarget option must be set on the map. That option defaults to the map itself, however, the map must have a tabIndex so that focus can float to it. If the map doesn't have keyboard focus in that situation, this interaction will not get the keyboard events. One solution is to put the global 'document' for the keyboardEventTarget, which means this interaction will get those keyboard events.
Properties:
Name Type Description routingLayeralk.layer.EditTrailRoutingLayer This option holds the reference to the
alk.layer.EditTrailRoutingLayer.prevRouteConditionol.EventsConditionType This option holds the condition to call
alk.layer.EditTrailRoutingLayer#prevRoute. The default is CTRL-Z or META-Z.nextRouteConditionol.EventsConditionType This option holds the condition to call
alk.layer.EditTrailRoutingLayer#nextRoute. The default is CTRL-SHIFT-Z, META-SHIFT-Z, CTRL-Y, or META-Y. -
alkx.GeocodeAddress{Object}
-
Properties:
Name Type Description addrstring This option contains the street of the address for a geocode call. This option will override any default in the
alk.service.LocationsService.citystring This option contains the city of the address for a geocode call. This option will override any default in the
alk.service.LocationsService.statestring This option contains the state/province of the address for a geocode call. This option will override any default in the
alk.service.LocationsService.zipstring This option contains the zip/postal code of the address for a geocode call. This option will override any default in the
alk.service.LocationsService.regionstring This option contains the ALK region of where to get the data for a geocode call. This option will override any default in the
alk.service.LocationsService. -
alkx.GeocodeLocation{Object}
-
This is the object representing a response item from the ALK PCM Locations service.
-
alkx.GeocoderGeocodeOptions{Object}
-
Properties:
Name Type Description addressalkx.GeocodeAddress | alkx.NormalizedAddress This option contains the address structure for the
alk.geocode.Geocoder#geocodecall. This option may also contain the 'normalized' address object that is returned in the response object.listSizenumber This option contains the maximum number of results to return in the response list.
successfunction This option contains the callback function that will be called upon a successful return.
failurefunction This option contains the callback function that will be called upon a failure return.
-
alkx.GeocoderGeocodeResponse{Array.<alkx.GeocodeLocation>}
-
This type describes the response from the
alk.geocode.Geocoder#geocodecall. -
alkx.GeocoderOptions{Object}
-
Properties:
Name Type Description locationsServiceOptionsalkx.LocationsServiceOptions This option contains the options for the creation of the underling
alkx.LocationsServiceOptionsobject. -
alkx.HashedIdFactoryOptions{Object}
-
This typedef defines the options for the @{link alk.format.HashedIdFactory}.
Properties:
Name Type Argument Description checkForCollisionsboolean | undefined <optional>
If this option is set to true, the HashedIdFactory will check for hash collisions. Default is false;
logCollisionsboolean | undefined <optional>
If this option is set to true, and the options.checkForCollisions is also set to true, the HashedIdFactory will log collisions when they occur during calls to
alk.format.HashedIdFactory#getIdForString. Default is false.Override
alk.format.HashedIdFactory#logCollisionsto redirect logging. -
alkx.LayerOptions{Object}
-
These are options that are used for OpenLayer layers.
Properties:
Name Type Description declutterboolean | undefined This option is an OpenLayer Vector Layer Option.
Declutter images and text. Decluttering is applied to all image and text styles, and the priority is defined by the z-index of the style. Lower z-index means higher priority. Default is false.
renderOrderol.RenderOrderFunction | null | undefined This option is an OpenLayer Vector Layer Option.
Render Order. Function to be used when sorting features before rendering. By default features are drawn in the order that they are created. Use null to avoid the sort, but get an undefined draw order. Required.
The default order of creation is, route lines, then stops in order from origin to destination.
renderBuffernumber | undefined This option is an OpenLayer Vector Layer Option.
The buffer around the viewport extent used by the renderer when getting features from the vector source for the rendering or hit-detection. Recommended value: the size of the largest symbol, line width, or label. Default is 100 pixels.
opacitynumber | undefined This option is an OpenLayer Vector Layer Option.
Opacity (0, 1). Default is
1.preloadnumber | undefined This option is an OpenLayer Vector Layer Option.
Preload. Load low-resolution tiles up to
preloadlevels. By defaultpreloadis0, which means no preloading.mapol.PluggableMap | undefined This option is an OpenLayer Vector Layer Option.
Sets the layer as overlay on a map. The map will not manage this layer in its layers collection, and the layer will be rendered on top. This is useful for temporary layers. The standard way to add a layer to a map and have it managed by the map is to use
ol.Map#addLayer.visibleboolean | undefined This option is an OpenLayer Vector Layer Option.
Visibility. Default is
true(visible).extentol.Extent | undefined This option is an OpenLayer Vector Layer Option.
The bounding extent for layer rendering. The layer will not be rendered outside of this extent.
minResolutionnumber | undefined This option is an OpenLayer Vector Layer Option.
The minimum resolution (inclusive) at which this layer will be visible.
maxResolutionnumber | undefined This option is an OpenLayer Vector Layer Option.
The maximum resolution (exclusive) below which this layer will be visible.
updateWhileAnimatingboolean | undefined This option is an OpenLayer Vector Layer Option.
When set to true, feature batches will be recreated during animations. This means that no vectors will be shown clipped, but the setting will have a performance impact for large amounts of vector data. When set to false, batches will be recreated when no animation is active. Default is false.
updateWhileInteractingboolean | undefined This option is an OpenLayer Vector Layer Option.
When set to true, feature batches will be recreated during interactions. See also
updateWhileAnimating.useInterimTilesOnErrorboolean | undefined This option is an OpenLayer Vector Layer Option.
Use interim tiles on error. Default is
true.styleArray.<ol.style.Style> | ol.style.Style | Array.<ol.style.Style> | ol.StyleFunction | undefined This option is an OpenLayer Vector Layer Option.
This option specifies the style or style function to be used rendering the layer.
zIndexnumber | undefined This option is an OpenLayer Vector Layer Option.
The z-index for layer rendering. At rendering time, the layers will be ordered, first by Z-index and then by position. The default Z-index is 0.
-
alkx.ListTooltipOverlayOptions{Object}
-
Object literal with config options for the overlay.
Properties:
Name Type Argument Description idnumber | string | undefined <optional>
cssClassstring | undefined <optional>
offsetArray.<number> | undefined <optional>
positionol.Coordinate | undefined <optional>
positioningol.OverlayPositioning | string | undefined <optional>
stopEventboolean | undefined <optional>
insertFirstboolean | undefined <optional>
autoPanboolean | undefined <optional>
autoPanAnimationolx.OverlayPanOptions | undefined <optional>
autoPanMarginnumber | undefined <optional>
-
alkx.LoadStrategyOptions{Object}
-
These options are specified for the LoadStrategy constructor.
Properties:
Name Type Description minResolutionnumber This option specifies the minimum resolution for which the load strategy will provide extents. The number is specified in meters per pixel.
maxResolutionnumber This option specifies the maximum resolution for which the load strategy will provide extents. The number is specified in meters per pixel.
-
alkx.LocationsReverseServiceOptions{Object}
-
This typedef specifies the options needed for the constructor and get functions of the
alk.service.LocationsReverseService.Properties:
Name Type Description apiKeystring This option contains the ALK ApiKey that gives you permission to extract data from ALK Servers.
coordsArray.<string> | string This options specifies the coordinates with which to restrict the search. The projection must be EPSG:4356.
currentSpeednumber | string This option specifies speed of the vehicle in Miles Per Hour.
headingstring | number This option specifies heading. The value is in degrees counter clockwise from East. East = 0, North = 90, West = 180 , South = 270.
includeLinkInfoboolean | number | string This option specifies the response to include link identifier information.
includePostedSpeedLimitboolean | number | string This option specifies the response to include the posted speed limit information. Good only for ALK licenses that include speed limit.
datasetalk.val.Dataset | number | string The option contains the Dataset parameter for the Service. This option specifies an area dataset that may be pertinent to the request.
hostURLstring This option contains the the host and port URL for the particular service. This option is not set by the user, but is automatically generated from the particular service being used.
matchNamedRoadsOnlyboolean | number | string This option is tells the service that when it is looking up coordinates to force reverse geocoding to match named roads only.
maxCleanupMilesnumber | string This option is tells the service that when it is looking up coordinates sets maximum radius in which to find the closest matching road.
pathstring This option is the path part of the URL for the particular service. This option is not set by the user, but is automatically generated from the particular service being used.
regionalk.val.Region | number | string This option tells the service in which region the retrieved data is to pertain. Some ALK Services switch underlying services due to this option. For instance, traffic data for North America and Europe may come from different underlying services.
urbanboolean | number | string This option specifies that the search is in an urban area.
vehicleTypealk.val.VehicleType | number | string This option tells the service the type of vehicle that is requesting the route.
-
alkx.LocationsReverseServiceResponse{Object}
-
This structure types the return from the ALK ReverseGeocoder call.
Properties:
Name Type Description locationsReverseServiceOptionsalkx.LocationsReverseServiceOptions responseArray.<alkx.GeocodeLocation> | undefined -
alkx.LocationsServiceOptions{Object}
-
This typedef specifies the options needed for the constructor and get functions of the
alk.service.LocationsService.Properties:
Name Type Description apiKeystring This option contains the ALK ApiKey that gives you permission to extract data from ALK Servers.
citystring This option specifies the city that will be used to search.
citySearchFilterstring This option specifies the city search filter to use. TODO: Various values?
coordsArray.<string> | string This options specifies the coordinates with which to restrict the search. The projection must be EPSG:4356.
datasetalk.val.Dataset | number | string The option contains the Dataset parameter for the Service. This option specifies an area dataset that may be pertinent to the request.
hostURLstring This option contains the the host and port URL for the particular service. This option is not set by the user, but is automatically generated from the particular service being used.
listnumber | string This option tells the service how many results to return.
matchNamedRoadsOnlyboolean | number | string This option is tells the service that when it is looking up coordinates to force reverse geocoding to match named roads only.
maxCleanupMilesnumber | string This option is tells the service that when it is looking up coordinates sets maximum radius in which to find the closest matching road.
pathstring This option is the path part of the URL for the particular service. This option is not set by the user, but is automatically generated from the particular service being used.
postCodestring This option contains the postal code to use in the search.
postCodeFilterstring This option contains the postal code filter to use in the search. The service uses this option to filter zip codes by country. For example, use 'US' to indicate US zip codes only. Use 'EM' to indicate Mexican postal codes only. Use a sequence of country codes for multiple. TODO: Are they separated by commas?
regionalk.val.Region | number | string This option tells the service in which region the retrieved data is to pertain. Some ALK Services switch underlying services due to this option. For instance, traffic data for North America and Europe may come from different underlying services.
splcstring This option contains the Standard Point Lookup Code. It is used in place of using street/city/state/zip.
statestring This option contains the state (or provence) to use in the search.
streetstring This option contains the state (or provence) to use in the search.
-
alkx.LocationsServiceResponse{Object}
-
This structure types the return from the ALK Geocoder call.
-
alkx.MapLayerOptions{Object}
-
Properties:
Name Type Argument Description apiKeystring This option contains the ALK ApiKey that gives you permission to extract data from ALK Servers.
stylealk.val.Style | number | string This option tells the service the style of map that is requested. ALK has a number of different map styles, such as
alk.val.Style.Night, andalk.val.Style.Terrain.regionalk.val.Region | number | string This option tells the service in which region the retrieved data is to pertain. Some ALK Services switch underlying services due to this option. For instance, traffic data for North America and Europe may come from different underlying services.
datasetalk.val.Dataset | number | string The option contains the Dataset parameter for the Service. This option specifies an area dataset that may be pertinent to the request.
sourceOptionsalkx.BaseMapSourceOptions | undefined <optional>
This option provides the extra options to create the
alk.source.BaseMapSourcesource and itsalk.service.MapTileServiceservice that will supply the URL to get the base map layer tiles.opacitynumber | undefined <optional>
This option is an OpenLayer Vector Layer Option.
Opacity (0, 1). Default is
1.preloadnumber | undefined <optional>
This option is an OpenLayer Vector Layer Option.
Preload. Load low-resolution tiles up to
preloadlevels. By defaultpreloadis0, which means no preloading.mapol.PluggableMap | undefined <optional>
This option is an OpenLayer Vector Layer Option.
Sets the layer as overlay on a map. The map will not manage this layer in its layers collection, and the layer will be rendered on top. This is useful for temporary layers. The standard way to add a layer to a map and have it managed by the map is to use
ol.Map#addLayer.visibleboolean | undefined <optional>
This option is an OpenLayer Vector Layer Option.
Visibility. Default is
true(visible).extentol.Extent | undefined <optional>
This option is an OpenLayer Vector Layer Option.
The bounding extent for layer rendering. The layer will not be rendered outside of this extent.
minResolutionnumber | undefined <optional>
This option is an OpenLayer Vector Layer Option.
The minimum resolution (inclusive) at which this layer will be visible.
maxResolutionnumber | undefined <optional>
This option is an OpenLayer Vector Layer Option.
The maximum resolution (exclusive) below which this layer will be visible.
useInterimTilesOnErrorboolean | undefined <optional>
This option is an OpenLayer Vector Layer Option.
Use interim tiles on error. Default is
true.zIndexnumber | undefined <optional>
This option is an OpenLayer Vector Layer Option.
The z-index for layer rendering. At rendering time, the layers will be ordered, first by Z-index and then by position. The default Z-index is 0.
-
alkx.MapTileServiceOptions{Object}
-
This typedef specifies the 'catch all' object for options needed for for various subclasses of
alk.service.Service.Properties:
Name Type Description apiKeystring This option contains the ALK ApiKey that gives you permission to extract data from ALK Servers.
datasetalk.val.Dataset | number | string The option contains the Dataset parameter for the Service. This option specifies an area dataset that may be pertinent to the request.
drawerGroupsArray.<(alk.val.DrawerGroup|number)> | string The DrawerGroups parameter for the Service.
formatalk.val.Format | number This option tells the Service in which format to deliver its image data.
imgOptionalk.val.ImgOption | number | string This option tells the service which way to deliver the image data. Available values are 'Background', 'Foreground', and 'Both'.
imgSrcalk.val.ImgSrc | number | string This option tells the service from where to get its image data. The available names, such as 'Sat1' and 'Sat2', have specific designations with ALK. Please see {TODO: Need Reference Here} for a current description.
heightnumber | string This option tells the service the height in which to return image data or tiles. The value is in pixels.
regionalk.val.Region | number | string This option tells the service in which region the retrieved data is to pertain. Some ALK Services switch underlying services due to this option. For instance, traffic data for North America and Europe may come from different underlying services.
srsalk.val.SRS | number | string This option tells the service the particular projection that is used any GIS data given to the service.
stylealk.val.Style | number | string This option tells the service the style of map that is requested. ALK has a number of different map styles, such as
alk.val.Style.Night, andalk.val.Style.Terrain.hostURLstring This option contains the the host and port URL for the particular service. This option is not set by the user, but is automatically generated from the particular service being used.
pathstring This option is the path part of the URL for the particular service. This option is not set by the user, but is automatically generated from the particular service being used.
widthnumber | string This option tells the service the width in which to return image data or tiles. The value is in pixels.
-
alkx.MultipleServiceRequestEngineOptions{Object}
-
This typedef specifies the options needed for the constructor and get functions of the
alk.service.Service.Properties:
Name Type Description servicealk.service.Service This option contains the service with which to make requests.
-
alkx.MultiRoutingLayerAddRouteOptions{Object}
-
This typedef describes the options for the
alk.layer.MultiRoutingLayer#addRoutemethod.Properties:
Name Type Description routeIdstring This option gives the routeId for the route being added to the layer. If a route already exists in the layer with this id, it is replaced.
routeServiceOptionsalkx.RouteServiceOptions This option gives the routeServiceOptions that will be handed off to the ALK service to create the route.
-
alkx.NormalizedAddress{Object}
-
Properties:
Name Type Description StreetAddressstring | undefined This option contains name of the street and number of the address.
Citystring | undefined This option contains name of the city;
Statestring | undefined This option contains the name of the state.
Zipstring | undefined This option contains the zip/postal code.
Countystring | undefined This option contains the name of the county.
Countrystring | undefined This option contains the name of the country.
SPLCstring | undefined This option contains the Standard Place Location Code.
CountryPostalFilternumber | undefined This option contains the country postal filter.
AbbreviationFormatnumber | undefined This option contains the abbreviation format.
-
alkx.POICategoriesSingleSearchServiceOptions{Object}
-
This typedef specifies the options needed for the constructor and get functions of the
alk.service.POICategoriesSingleSearchService.Properties:
Name Type Description apiKeystring This option contains the ALK ApiKey that gives you permission to extract data from ALK Servers.
codesArray.<string> | string This option specifies the FIPS codes for counties in the search.
datasetalk.val.Dataset | number | string The option contains the Dataset parameter for the Service. This option specifies an area dataset that may be pertinent to the request.
hostURLstring This option contains the the host and port URL for the particular service. This option is not set by the user, but is automatically generated from the particular service being used.
pathstring This option is the path part of the URL for the particular service. This option is not set by the user, but is automatically generated from the particular service being used.
regionalk.val.Region | number | string This option tells the service in which region the retrieved data is to pertain. Some ALK Services switch underlying services due to this option. For instance, traffic data for North America and Europe may come from different underlying services.
-
alkx.POICategoriesSingleSearchServiceResponse{Object}
-
-
alkx.POICategoriesSingleSearchServiceResult{Object}
-
-
alkx.POILayerOptions{Object}
-
Properties:
Name Type Argument Description sourcealk.source.POISource | undefined <optional>
This option contains the vector source for the Points of Interest. This option is mutually exclusive with poiServiceOptions.
poiServiceOptionsalkx.POIServiceOptions | undefined <optional>
This option contains the options that are given to the underlying
alk.service.POIServiceto retrieve the Points Of Interest.renderOrderol.RenderOrderFunction | null | undefined <optional>
This option is an OpenLayer Vector Layer Option.
Render Order. Function to be used when sorting features before rendering. By default features are drawn in the order that they are created. Use null to avoid the sort, but get an undefined draw order. Required.
The default order of creation is, route lines, then stops in order from origin to destination.
minResolutionnumber | undefined <optional>
This option is an OpenLayer Vector Layer Option.
The minimum resolution (inclusive) at which this layer will be visible.
maxResolutionnumber | undefined <optional>
This option is an OpenLayer Vector Layer Option.
The maximum resolution (exclusive) below which this layer will be visible.
opacitynumber | undefined <optional>
This option is an OpenLayer Vector Layer Option.
Opacity (0, 1). Default is
1.declutterboolean | undefined <optional>
This option is an OpenLayer Vector Layer Option.
Declutter images and text. Decluttering is applied to all image and text styles, and the priority is defined by the z-index of the style. Lower z-index means higher priority. Default is false.
renderBuffernumber | undefined <optional>
This option is an OpenLayer Vector Layer Option.
The buffer around the viewport extent used by the renderer when getting features from the vector source for the rendering or hit-detection. Recommended value: the size of the largest symbol, line width, or label. Default is 100 pixels.
mapol.PluggableMap | undefined <optional>
This option is an OpenLayer Vector Layer Option.
Sets the layer as overlay on a map. The map will not manage this layer in its layers collection, and the layer will be rendered on top. This is useful for temporary layers. The standard way to add a layer to a map and have it managed by the map is to use
ol.Map#addLayer.stylealk.style.POILayerStyle | alk.style.StrokeQueue | Array.<ol.style.Stroke> | ol.style.Style | Array.<ol.style.Style> | ol.StyleFunction | undefined <optional>
This option specifies the style or style function to be used in drawing the points of interest. The default is to use a
alk.style.IconPOILayerStyleobject that labels points of interest with their POI category.If it is anything else, the style is passed to the ol.layer.Vector for default styling.
updateWhileAnimatingboolean | undefined <optional>
This option is an OpenLayer Vector Layer Option.
When set to true, feature batches will be recreated during animations. This means that no vectors will be shown clipped, but the setting will have a performance impact for large amounts of vector data. When set to false, batches will be recreated when no animation is active. Default is false.
updateWhileInteractingboolean | undefined <optional>
This option is an OpenLayer Vector Layer Option.
When set to true, feature batches will be recreated during interactions. See also
updateWhileAnimating.visibleboolean | undefined <optional>
This option is an OpenLayer Vector Layer Option.
Visibility. Default is
true(visible).zIndexnumber | undefined <optional>
This option is an OpenLayer Vector Layer Option.
The z-index for layer rendering. At rendering time, the layers will be ordered, first by Z-index and then by position. The default Z-index is 0.
-
alkx.POIServiceOptions{Object}
-
Properties:
Name Type Description apiKeystring This option contains the ALK ApiKey that gives you permission to extract data from ALK Servers.
regionalk.val.Region | number | string This option tells the service in which region the retrieved data is to pertain. Some ALK Services switch underlying services due to this option. For instance, traffic data for North America and Europe may come from different underlying services.
datasetalk.val.Dataset | number | string The option contains the Dataset parameter for the Service. This option specifies an area dataset that may be pertinent to the request.
centerArray.<number> | string This option contains the center of the search.
radiusnumber | string This option contains the radius in radiusUnits of the search.
radiusUnitsalk.val.DistanceUnits | number | string This option contains the units with which to interpret the radius option.
nameFilterstring The results will be filtered by a likeness to this name;
poiCategoriesArray.<string> | string This options specifies the Points of Interest categories with which to restrict the search. Their values must come from the
alk.service.POICategoriesSingleSearchService. -
alkx.POIServiceResponse{Object}
-
-
alkx.POISourceOptions{Object}
-
Properties:
Name Type Argument Description poiServiceOptionsalk.service.POIService This option contains the POI service options with which to create the POIService used internally.
strategyalk.source.LoadStrategy This option specifies the load strategy for the POI vector source. The default is the
alk.source.SubtractionLoadStrategy, which tries to only load necessary extents with resolution limits between 1 and 1000 meters per pixel.wrapXboolean | undefined <optional>
Wrap the world horizontally. Default is
true. For vector editing across the -180° and 180° meridians to work properly, this should be set tofalse. The resulting geometry coordinates will then exceed the world bounds. -
alkx.PolygonCounty{Object}
-
-
alkx.PolygonsCountyCacheOptions{Object}
-
This typedef specifies the options needed for the constructor and get functions of the
alk.service.PolygonsCountyService.Properties:
Name Type Argument Description polygonsCountyServicealk.service.PolygonsCountyService | undefined <optional>
This option contains the service with which to get the polygons for county codes. If this option is undefined, then one is created with the polygonsCountyServiceOptions.
polygonsCountyServiceOptionsalkx.PolygonsCountyServiceOptions | undefined <optional>
This option contains the options for creating the
alk.service.PolygonsCountyServicewith which to get the polygons for county codes. -
alkx.PolygonsCountyServiceOptions{Object}
-
This typedef specifies the options needed for the constructor and get functions of the
alk.service.PolygonsCountyService.Properties:
Name Type Argument Description apiKeystring This option contains the ALK ApiKey that gives you permission to extract data from ALK Servers.
codesArray.<string> | string This option specifies the FIPS codes for counties in the search.
datasetalk.val.Dataset | number | string The option contains the Dataset parameter for the Service. This option specifies an area dataset that may be pertinent to the request.
hostURLstring This option contains the the host and port URL for the particular service. This option is not set by the user, but is automatically generated from the particular service being used.
pathstring This option is the path part of the URL for the particular service. This option is not set by the user, but is automatically generated from the particular service being used.
regionalk.val.Region | number | string This option tells the service in which region the retrieved data is to pertain. Some ALK Services switch underlying services due to this option. For instance, traffic data for North America and Europe may come from different underlying services.
requestIdnumber | string | undefined <optional>
This option contains a caller provided id that will be residing on the options when the call is returned. This parameter helps identify the request. It does not get transmitted to the server.
-
alkx.PolygonsCountyServiceResponse{Object}
-
This structure types the return from the ALK Polygons County call.
-
alkx.RBushEntry{Object}
-
-
alkx.ReverseGeocoderOptions{Object}
-
Properties:
Name Type Description locationsReverseServiceOptionsalkx.LocationsReverseServiceOptions This option contains the options for the creation of the underling
alk.service.LocationsReverseServiceOptionsobject. -
alkx.ReverseGeocoderReverseGeocodeOptions{Object}
-
This typedef specifies the options needed for the constructor and get functions of the
alk.geocode.ReverseGeocoder#reverseGeocodemethod.Properties:
Name Type Argument Description lonLatArray.<number> | string | undefined <optional>
This option specifies the coordinates in the search.
datasetalk.val.Dataset | undefined <optional>
This option specifies to the service where to get the data. Depending on the coordinates or search criteria the search may be restricted to certain datasets.
regionalk.val.Region | undefined <optional>
This option specifies the region in which to search.
-
alkx.ReverseGeocoderReverseGeocodeResponse{Array.<alkx.GeocodeLocation>}
-
This type describes the response from the
alk.geocode.Geocoder#geocodecall. -
alkx.RoadSurfaceLayerOptions{Object}
-
Properties:
Name Type Argument Description sourceOptionsalkx.RoadSurfaceTileSourceOptions | undefined <optional>
This option contains the options that are given to the underlying
alk.service.RoadSurfaceTileSourceto create the route.opacitynumber | undefined <optional>
This option is an OpenLayer Vector Layer Option.
Opacity (0, 1). Default is
1.preloadnumber | undefined <optional>
This option is an OpenLayer Vector Layer Option.
Preload. Load low-resolution tiles up to
preloadlevels. By defaultpreloadis0, which means no preloading.mapol.PluggableMap | undefined <optional>
This option is an OpenLayer Vector Layer Option.
Sets the layer as overlay on a map. The map will not manage this layer in its layers collection, and the layer will be rendered on top. This is useful for temporary layers. The standard way to add a layer to a map and have it managed by the map is to use
ol.Map#addLayer.visibleboolean | undefined <optional>
This option is an OpenLayer Vector Layer Option.
Visibility. Default is
true(visible).extentol.Extent | undefined <optional>
This option is an OpenLayer Vector Layer Option.
The bounding extent for layer rendering. The layer will not be rendered outside of this extent.
minResolutionnumber | undefined <optional>
This option is an OpenLayer Vector Layer Option.
The minimum resolution (inclusive) at which this layer will be visible.
maxResolutionnumber | undefined <optional>
This option is an OpenLayer Vector Layer Option.
The maximum resolution (exclusive) below which this layer will be visible.
useInterimTilesOnErrorboolean | undefined <optional>
This option is an OpenLayer Vector Layer Option.
Use interim tiles on error. Default is
true. -
alkx.RoadSurfaceRouteLayerOptions{Object}
-
Properties:
Name Type Argument Description sourcealk.source.Route | undefined <optional>
This option contains the
alk.source.Routefor the layer.alk.service.RoadSurfaceRouteServiceto create the route.routeServiceOptionsalkx.RoadSurfaceRouteServiceOptions | undefined <optional>
This option contains the options that are given to the underlying
alk.service.RoadSurfaceRouteServiceto create the route.frameRouteboolean | undefined <optional>
This option specifies when the to the underlying
alk.service.RoadSurfaceRouteServicecompletes successfully, the map will zoom and center to fit the extent of its features.renderOrderol.RenderOrderFunction | null | undefined <optional>
This option is an OpenLayer Vector Layer Option.
Render Order. Function to be used when sorting features before rendering. By default features are drawn in the order that they are created. Use null to avoid the sort, but get an undefined draw order. Required.
The default order of creation is, route lines, then stops in order from origin to destination.
minResolutionnumber | undefined <optional>
This option is an OpenLayer Vector Layer Option.
The minimum resolution (inclusive) at which this layer will be visible.
maxResolutionnumber | undefined <optional>
This option is an OpenLayer Vector Layer Option.
The maximum resolution (exclusive) below which this layer will be visible.
opacitynumber | undefined <optional>
This option is an OpenLayer Vector Layer Option.
Opacity (0, 1). Default is
1.renderBuffernumber | undefined <optional>
This option is an OpenLayer Vector Layer Option.
The buffer around the viewport extent used by the renderer when getting features from the vector source for the rendering or hit-detection. Recommended value: the size of the largest symbol, line width, or label. Default is 100 pixels.
mapol.PluggableMap | undefined <optional>
This option is an OpenLayer Vector Layer Option.
Sets the layer as overlay on a map. The map will not manage this layer in its layers collection, and the layer will be rendered on top. This is useful for temporary layers. The standard way to add a layer to a map and have it managed by the map is to use
ol.Map#addLayer.stylealk.style.RoadSurfaceStyle | ol.style.Style | Array.<ol.style.Style> | ol.StyleFunction | undefined <optional>
This option specifies the style or style function to be used in drawing the road surface along the route. The default is to use a
alk.style.RoadSurfaceStyle..If the style is a
alk.style.RoadSurfaceStyleit is used directly. All others result in creating aalk.style.RoadSurfaceStylewith the given style.If it is anything else, the style is passed to the ol.layer.Vector for default styling.
updateWhileAnimatingboolean | undefined <optional>
This option is an OpenLayer Vector Layer Option.
When set to true, feature batches will be recreated during animations. This means that no vectors will be shown clipped, but the setting will have a performance impact for large amounts of vector data. When set to false, batches will be recreated when no animation is active. Default is false.
updateWhileInteractingboolean | undefined <optional>
This option is an OpenLayer Vector Layer Option.
When set to true, feature batches will be recreated during interactions. See also
updateWhileAnimating.visibleboolean | undefined <optional>
This option is an OpenLayer Vector Layer Option.
Visibility. Default is
true(visible). -
alkx.RoadSurfaceRouteServiceOptions{Object}
-
This typedef describes the options given to the
alk.service.RoadSurfaceRouteService.Properties:
Name Type Description apiKeystring This option contains the ALK ApiKey that gives you permission to extract data from ALK Servers.
datasetalk.val.Dataset | number | string The option contains the Dataset parameter for the Service. This option specifies an area dataset that may be pertinent to the request.
regionalk.val.Region | number | string This option tells the service in which region the retrieved data is to pertain. Some ALK Services switch underlying services due to this option. For instance, traffic data for North America and Europe may come from different underlying services.
hostURLstring This option contains the the host and port URL for the particular service. This option is not set by the user, but is automatically generated from the particular service being used.
pathstring This option is the path part of the URL for the particular service. This option is not set by the user, but is automatically generated from the particular service being used.
hourOffsetnumber | string This option tells the service the hour offset in which to return image data or tiles. TODO: Better description.
provideralk.val.Provider | number | string This option tells the service the provider in which to return image data or tiles. The options are Default or RC1.
routePathArray.<Array.<number>> This option tells the service the route for which to get the road conditions.
routeDurationnumber | string This option tells the service the duration route for which to get the road conditions.
-
alkx.RoadSurfaceRouteServiceResponse{Object}
-
This structure types the return from the
alk.service.RouteService#getcall.Properties:
Name Type Description roadSurfaceRouteServiceOptionsalkx.RoadSurfaceRouteServiceOptions This property contains the combined options for a call to the ALK Road Surface Route Service that generated the associated feature collection from the response from the service.
featureCollectionol.Collection.<ol.Feature> | undefined This property contains the result of a ALK Road Surface Route Service call from the associated options. It is a collection containing features that are LineStrings, each representing a single contiguous and continuous road condition.
If a Road Surface Route Service call was unsuccessful, this property will be undefined.
-
alkx.RoadSurfaceRouteSourceOptions{Object}
-
Properties:
Name Type Argument Description roadSurfaceRouteServiceOptionsalkx.RoadSurfaceRouteServiceOptions | undefined <optional>
This option contains the options that are given to the underlying
alk.service.RoadSurfaceRouteServiceto create the route. -
alkx.RoadSurfaceTileServiceOptions{Object}
-
This typedef describes the options given to the
alk.service.RoadSurfaceTileService.Properties:
Name Type Description apiKeystring This option contains the ALK ApiKey that gives you permission to extract data from ALK Servers.
datasetalk.val.Dataset | number | string The option contains the Dataset parameter for the Service. This option specifies an area dataset that may be pertinent to the request.
formatalk.val.Format | number This option tells the Service in which format to deliver its image data.
heightnumber | string This option tells the service the height in which to return image data or tiles. The value is in pixels.
imgOptionalk.val.ImgOption | number | string This option tells the service which way to deliver the image data. Available values are 'Background', 'Foreground', and 'Both'.
imgSrcalk.val.ImgSrc | number | string This option tells the service from where to get its image data. The available names, such as 'Sat1' and 'Sat2', have specific designations with ALK. Please see {TODO: Need Reference Here} for a current description.
regionalk.val.Region | number | string This option tells the service in which region the retrieved data is to pertain. Some ALK Services switch underlying services due to this option. For instance, traffic data for North America and Europe may come from different underlying services.
srsalk.val.SRS | number | string This option tells the service the particular projection that is used any GIS data given to the service.
stylealk.val.Style | number | string This option tells the service the style of map that is requested. ALK has a number of different map styles, such as
alk.val.Style.Night, andalk.val.Style.Terrain.hostURLstring This option contains the the host and port URL for the particular service. This option is not set by the user, but is automatically generated from the particular service being used.
pathstring This option is the path part of the URL for the particular service. This option is not set by the user, but is automatically generated from the particular service being used.
widthnumber | string This option tells the service the width in which to return image data or tiles. The value is in pixels.
hourOffsetnumber | string This option tells the service the hour offset in which to return image data or tiles. TODO: Better description.
provideralk.val.Provider | number | string This option tells the service the provider in which to return image data or tiles. The options are Default or RC1.
-
alkx.RoadSurfaceTileSourceOptions{Object}
-
Properties:
Name Type Argument Description serviceOptionsalkx.RoadSurfaceTileServiceOptions | undefined <optional>
attributionsol.AttributionLike | undefined <optional>
This option is an OpenLayers option passed to the
ol.source.XYZsuper class of thealk.source.XYZSourceobject from its subclasses.Attributions.
cacheSizenumber | undefined <optional>
This option is an OpenLayers option passed to the
ol.source.XYZsuper class of thealk.source.XYZSourceobject from its subclasses.Cache size. Default is 2048.
extentol.Extent | undefined <optional>
This option is an OpenLayers option passed to the
ol.source.XYZsuper class of thealk.source.XYZSourceobject from its subclasses.It contains the map extent in which the source is relevant.
crossOriginnull | string | undefined <optional>
This option is an OpenLayers option passed to the
ol.source.XYZsuper class of thealk.source.XYZSourceobject from its subclasses.The crossOrigin attribute for loaded images. Note that you must provide a
crossOriginvalue if you are using the WebGL renderer or if you want to access pixel data with the Canvas renderer. See [https://developer.mozilla.org/en-US/docs/Web/HTML/CORS_enabled_image] for more detail.opaqueboolean | undefined <optional>
This option is an OpenLayers option passed to the
ol.source.XYZsuper class of thealk.source.XYZSourceobject from its subclasses.Whether the layer is opaque.
projectionol.ProjectionLike | undefined <optional>
This option is an OpenLayers option passed to the
ol.source.XYZsuper class of thealk.source.XYZSourceobject from its subclasses.This options contains the projection with which to interpret other options, such as the extent.
maxZoomnumber | undefined <optional>
This option is an OpenLayers option passed to the
ol.source.XYZsuper class of thealk.source.XYZSourceobject from its subclasses.Optional maximum zoom level. Default is 20 (ALK specific).
minZoomnumber | undefined <optional>
This option is an OpenLayers option passed to the
ol.source.XYZsuper class of thealk.source.XYZSourceobject from its subclasses.Optional minimum zoom level. Default is 0.
tileGridol.tilegrid.TileGrid | undefined <optional>
This option is an OpenLayers option passed to the
ol.source.XYZsuper class of thealk.source.XYZSourceobject from its subclasses.Tile Grid.
tileLoadFunctionol.TileLoadFunctionType | undefined <optional>
This option is an OpenLayers option passed to the
ol.source.XYZsuper class of thealk.source.XYZSourceobject from its subclasses.Optional function to load a tile given a URL. The default is function(imageTile, src) { imageTile.getImage().src = src; };
tilePixelRationumber | undefined <optional>
This option is an OpenLayers option passed to the
ol.source.XYZsuper class of thealk.source.XYZSourceobject from its subclasses.The pixel ratio used by the tile service. For example, if the tile service advertises 256px by 256px tiles but actually sends 512px by 512px images (for retina/hidpi devices) then tilePixelRatio should be set to 2. Default is 1.
tileSizenumber | undefined <optional>
This option is an OpenLayers option passed to the
ol.source.XYZsuper class of thealk.source.XYZSourceobject from its subclasses.The tile size used by the tile service. Default is [256, 256] pixels.
tileUrlFunctionol.TileUrlFunctionType | undefined <optional>
This option is an OpenLayers option passed to the
ol.source.XYZsuper class of thealk.source.XYZSourceobject from its subclasses.Optional function to get tile URL given a tile coordinate and the projection. Required if url or urls are not provided.
reprojectionErrorThresholdnumber | undefined <optional>
This option is an OpenLayers option passed to the
ol.source.XYZsuper class of thealk.source.XYZSourceobject from its subclasses.Maximum allowed reprojection error (in pixels). Default is 0.5. Higher values may increase reprojection performance, but decrease precision.
wrapXboolean | undefined <optional>
This option is an OpenLayers option passed to the
ol.source.XYZsuper class of thealk.source.XYZSourceobject from its subclasses.Whether to wrap the world horizontally. The default,
undefined, is to request out-of-bounds tiles from the server. When set tofalse, only one world will be rendered. When set totrue, tiles will be requested for one world only, but they will be wrapped horizontally to render multiple worlds.transitionnumber | undefined <optional>
This option is an OpenLayers option passed to the
ol.source.XYZsuper class of thealk.source.XYZSourceobject from its subclasses.Duration of the opacity transition for rendering. To disable the opacity transition, pass transition: 0.
-
alkx.RoutePathServiceOptions{Object}
-
This typedef contains all the options that are given to
alkx.api.RoutePathServiceobjects and their subclasses.Properties:
Name Type Description apiKeystring This option contains the ALK ApiKey that gives you permission to extract data from ALK Servers.
datasetalk.val.Dataset | number | string The option contains the Dataset parameter for the Service. This option specifies an area dataset that may be pertinent to the request.
hostURLstring This option contains the the host and port URL for the particular service. This option is not set by the user, but is automatically generated from the particular service being used.
pathstring This option is the path part of the URL for the particular service. This option is not set by the user, but is automatically generated from the particular service being used.
srsalk.val.SRS | number | string This option tells the service the particular projection that is used any GIS data given to the service.
routePathRequestalkx.route.RoutePathRequest | string This option contains the full route path request to give to the
alk.service.RoutePathService. It can be an object, which is the request, or a JSON.stringified version of it. -
alkx.RouteReportsServiceOptions{Object}
-
This typedef contains all the options that are given to
alkx.service.RouteReportsServiceobjects and their subclasses.alk.val.VehicleDimensionUnits.English- 12'6", 12.0 (feet)
alk.val.VehicleDimensionUnits.Metric- 4.114 (meters)
- fmt ::= DA ('|' Time)?
- Time :: = DayTime | SpecificDateTime
- DA ::= 'Depart' | 'Arrive'
- DayOfWeek ::= 'Monday' | 'Tuesday' | ... | 'Sunday';
- DayTime ::= DayOfWeek '|' TimeOfDay ('|' TimeZone)?
- SpecificDateTime ::= YYYY-MM-DDTHH:MM:SS ('|' TimeZone)?
Properties:
Name Type Argument Description apiKeystring This option contains the ALK ApiKey that gives you permission to extract data from ALK Servers.
datasetalk.val.Dataset | number | string The option contains the Dataset parameter for the Service. This option specifies an area dataset that may be pertinent to the request.
pathstring This option is the path part of the URL for the particular service. This option is not set by the user, but is automatically generated from the particular service being used.
regionalk.val.Region | number | string This option tells the service in which region the retrieved data is to pertain. Some ALK Services switch underlying services due to this option. For instance, traffic data for North America and Europe may come from different underlying services.
srsalk.val.SRS | number | string This option tells the service the particular projection that is used any GIS data given to the service.
routeIdstring | undefined <optional>
TODO: write description
stopsArray.<Array.<number>> This option contains the stops that the route is to travel along. It is supplied in Spherical Mercator unless, specified by the 'srs' option. It contains an ordered array of coordinates from origin to destination.
stopCostsArray.<(alkx.StopCost|string)> | string | undefined <optional>
TODO: write description
vehicleTypealk.val.VehicleType | number | string This option tells the service the type of vehicle that is requesting the route.
routeTypealk.val.RouteType | number | string This option tells the service the type of the route requested. It can be
alk.val.RouteType.Practicaloralk.val.RouteType.Shortest.highwayOnlyboolean | number | string This option tells the service to generate a route that will travel mostly along highways.
customRoadSpeedsstring | undefined <optional>
TODO: write description
avoidFavorsboolean | number | string This option tells the service whether or not to use avoids and favors while routing.
overrideClassArray.<(alk.val.OverrideClass|number)> | string This option tells the service the classes of vehicle travel. Such as
alk.val.OverrideClass.NationalNetworkoralk.val.OverrideClass.FiftyThreeFoot.distanceUnitsalk.val.DistanceUnits | number | string This option tells the service that any distance measurements will be delivered in these units, such as
alk.val.DistanceUnits.Kilometersoralk.val.DistanceUnits.Miles.fuelUnitsalk.val.FuelUnits | number | string | undefined <optional>
TODO: write description
avoidTollsboolean | number | string This option tells the service to avoid toll roads and bridges while creating the route.
includeFerryDistanceboolean | number | string | undefined <optional>
TODO: write description
openBordersboolean | number | string This option tells the service if the borders are open for travel.
overrideRestrictboolean | number | string This option tells the service whether to override truck restrictions.
hazMatalk.val.HazMat | number | string This option tells the service the hazardous material type.
routeOptimizationalk.val.RouteOptimization | number | string This option tells the service what level of route optimization to perform. Use 'routeOpt'.
languagealk.val.Language | string This option tells the service the particular language for the results.
hubRoutingboolean | number | string This option tells the service if 'hub routing' is in effect. This means that the starting stop is the hub. The last stop is in effect, not a destination, but a turn around point.
vehicleDimensionUnitsalk.val.VehicleDimensionUnits | number | string This option tells the service in what units, metric or otherwise, the vehicle measurements are presented. Can be either
vehicleHeightnumber | string This option contains the height measurement of the vehicle.
vehicleLengthnumber | string This option contains the length measurement of the vehicle.
vehicleWidthnumber | string This option contains the width measurement of the vehicle.
vehicleWeightnumber | string This option contains the weight measurement of the vehicle.
axlesnumber | string This option contains the number of axles on the vehicle.
truckConfigalk.val.TruckConfig | number | string This option specifies the particular vehicle configuration, such as
alk.val.TruckConfig.FullSizeVan, etc.lcvboolean | number | string This option tells whether the truck is a multi-trailer or longer combination vehicle.
reportsArray.<(alk.val.Report|number)> | string | undefined <optional>
TODO: write description
condenseDirectionsboolean | number | string | undefined <optional>
TODO: write description
reportFormatalk.val.ReportFormat | number | string | undefined <optional>
TODO: write description
includeTollDataboolean | number | string | undefined <optional>
TODO: write description
fuelEconomyLoadnumber | string | undefined <optional>
TODO: write description
fuelEconomyEmptynumber | string | undefined <optional>
TODO: write description
costPerFuelUnitnumber | string | undefined <optional>
TODO: write description
costGreenHouseGasnumber | string | undefined <optional>
TODO: write description
costMaintenanceLoadnumber | string | undefined <optional>
TODO: write description
costMaintenanceEmptynumber | string | undefined <optional>
TODO: write description
costTimeLoadnumber | string | undefined <optional>
TODO: write description
costTimeEmptynumber | string | undefined <optional>
TODO: write description
tollCurrencyalk.val.TollCurrency | number | string | undefined <optional>
TODO: write description
exchangeRatenumber | string | undefined <optional>
TODO: write description
tollPlanArray.<(alk.val.TollPlan|number)> | string | undefined <optional>
TODO: write description
citeIntervalnumber | string | undefined <optional>
TODO: write description
estimatedTimeOptsstring This option contains the parameter for the estimated time optimizations. This option only affects routing when roads have time based restrictions. Format is described by this BNF notation:
Examples are: -- Arrive|Monday|18:53|Local -- Depart|2016-04-23T09:43:20|Local -- Arrive (meaning system time)
breakIntervalnumber | string | undefined <optional>
TODO: write description
breakLengthnumber | string | undefined <optional>
TODO: write description
borderWaitnumber | string | undefined <optional>
TODO: write description
remainingHoursOfServicenumber | string | undefined <optional>
TODO: write description
useTrafficboolean | number | string | undefined <optional>
TODO: write description
tHoursWithSecondsnumber | string | undefined <optional>
TODO: write description
urgencyalk.val.Urgency | number | string This option specifies a search filter on the Urgency. Default is
alk.val.Urgency.All.severityalk.val.Severity | number | string This option specifies a search filter on the Severity. Default is
alk.val.Severity.All.certaintyalk.val.Certainty | number | string This option specifies a search filter on the Certainty. Default is
alk.val.Certainty.All.eventNamesArray.<string> | string This option specifies a search filter on the event names, such as ["Winter Storm Warning", "Flood Watch"].
elevationLimitnumber | string This option tells the service the distance above sea level to keep the route. Its value is interpreted according to the 'distanceUnits' option.
ferryDiscourageboolean | number | string This option tells the service to avoid ferries when creating the route.
hosEnabledboolean | number | string This option enables insertion of Hours Of Service Stops.
hosRemDriveTimeUntilBreaknumber | string This option indicates the available driving hours at the origin before the driver needs to take a rest break.
hosRemDriveTimenumber | string This option indicates the available driving hours at the origin until the end of the workday.
hosRemOnDutyTimenumber | string This option indicates the available 'On-Duty' hours at the origin until the end of the work day.
hosRemCycleDutyTimenumber | string This option indicates the available 'Cycle Time Duty' hours available at the origin until a cycle reset.
sideOfStreetAdherencenumber | string This option indicates the strictness in avoiding the opposite side of the street at the destination. TODO: What is the number range? 0-1?
governorSpeedLimitnumber | string This option tells the service the maximum average road speed to use in route calculations that overrides all other road speeds when the are above this value. Default is disabled and valid values are between 1 and 100mph. TODO: Is this always in MPH when distanceUnits is Kilometers?
-
alkx.RouteReportsServiceResponse{Array.<Object>}
-
This type describes the response from the
alk.service.RouteReportsService#getcall. -
alkx.RouteServiceOptions{Object}
-
This typedef contains all the options that are given to
alk.service.RouteServiceobjects and their subclasses.alk.val.VehicleDimensionUnits.English- 12'6", 12.0 (feet)
alk.val.VehicleDimensionUnits.Metric- 4.114 (meters)
- fmt ::= DA ('|' Time)?
- Time :: = DayTime | SpecificDateTime
- DA ::= 'Depart' | 'Arrive'
- DayOfWeek ::= 'Monday' | 'Tuesday' | ... | 'Sunday';
- DayTime ::= DayOfWeek '|' TimeOfDay ('|' TimeZone)?
- SpecificDateTime ::= YYYY-MM-DDTHH:MM:SS ('|' TimeZone)?
Properties:
Name Type Argument Description apiKeystring This option contains the ALK ApiKey that gives you permission to extract data from ALK Servers.
datasetalk.val.Dataset | number | string The option contains the Dataset parameter for the Service. This option specifies an area dataset that may be pertinent to the request.
hostURLstring This option contains the the host and port URL for the particular service. This option is not set by the user, but is automatically generated from the particular service being used.
pathstring This option is the path part of the URL for the particular service. This option is not set by the user, but is automatically generated from the particular service being used.
regionalk.val.Region | number | string This option tells the service in which region the retrieved data is to pertain. Some ALK Services switch underlying services due to this option. For instance, traffic data for North America and Europe may come from different underlying services.
srsalk.val.SRS | number | string This option tells the service the particular projection that is used any GIS data given to the service.
stopsArray.<Array.<number>> This option contains the stops that the route is to travel along. It is supplied in Spherical Mercator unless, specified by the 'srs' option. It contains an ordered array of coordinates from origin to destination.
stopTypesArray.<alk.val.StopType> | Object.<number, alk.val.StopType> This option contains an ordered array or indexed object map of the types of each stop given in the 'stops' option.
vehicleTypealk.val.VehicleType | number | string This option tells the service the type of vehicle that is requesting the route.
routeTypealk.val.RouteType | number | string This option tells the service the type of the route requested. It can be
alk.val.RouteType.Practicaloralk.val.RouteType.Shortest.highwayOnlyboolean | number | string This option tells the service to generate a route that will travel mostly along highways.
avoidFavorsboolean | number | string This option tells the service whether or not to use avoids and favors while routing.
overrideClassArray.<(alk.val.OverrideClass|number)> | string This option tells the service the classes of vehicle travel. Such as
alk.val.OverrideClass.NationalNetworkoralk.val.OverrideClass.FiftyThreeFoot.distanceUnitsalk.val.DistanceUnits | number | string This option tells the service that any distance measurements will be delivered in these units, such as
alk.val.DistanceUnits.Kilometersoralk.val.DistanceUnits.Miles.avoidTollsboolean | number | string This option tells the service to avoid toll roads and bridges while creating the route.
openBordersboolean | number | string This option tells the service if the borders are open for travel.
overrideRestrictboolean | number | string This option tells the service whether to override truck restrictions.
hazMatalk.val.HazMat | number | string This option tells the service the hazardous material type.
routeOptalk.val.RouteOptimization | string | undefined <optional>
This option tells the service the level of route optimization to use.
hubRoutingboolean | number | string This option tells the service if 'hub routing' is in effect. This means that the starting stop is the hub. The last stop is in effect, not a destination, but a turn around point.
vehicleDimensionUnitsalk.val.VehicleDimensionUnits | number | string This option tells the service in what units, metric or otherwise, the vehicle measurements are presented. Can be either
vehicleHeightnumber | string This option contains the height measurement of the vehicle.
vehicleLengthnumber | string This option contains the length measurement of the vehicle.
vehicleWidthnumber | string This option contains the width measurement of the vehicle.
vehicleWeightnumber | string This option contains the weight measurement of the vehicle.
axlesnumber | string This option contains the number of axles on the vehicle.
truckConfigalk.val.TruckConfig | number | string This option specifies the particular vehicle configuration, such as
alk.val.TruckConfig.FullSizeVan, etc.lcvboolean | number | string This option tells whether the truck is a multi-trailer or longer combination vehicle.
estimatedTimeOptsstring This option contains the parameter for the estimated time optimizations. This option only affects routing when roads have time based restrictions. Format is described by this BNF notation:
Examples are: -- Arrive|Monday|18:53|Local -- Depart|2016-04-23T09:43:20|Local -- Arrive (meaning system time)
stopsAsViaPointsboolean | number | string This option tells the service that all stops in between the origin and the destination are to be treated as not a stop, but a via point.
reduceResponsePointsboolean | number | string This option tells the service whether to reduce the number of response points.
elevationLimitnumber | string This option tells the service the distance above sea level to keep the route. Its value is interpreted according to the 'distanceUnits' option.
afSetIdsArray.<(string|number)> | string This option lists the avoid/favor sets to the route.
ferryDiscourageboolean | number | string This option tells the service to avoid ferries when creating the route.
hosEnabledboolean | number | string This option enables insertion of Hours Of Service Stops.
hosRuleTypealk.val.HosRuleType | number | string This option indicates the hours of service rule to use. Valid values are
alk.val.HosRuleType.USFed607Horalk.val.HosRuleType.USFed708Hfor US Federal Long Haul rules.hosRemDriveTimeUntilBreaknumber | string This option indicates the available driving hours at the origin before the driver needs to take a rest break.
hosRemDriveTimenumber | string This option indicates the available driving hours at the origin until the end of the workday.
hosRemOnDutyTimenumber | string This option indicates the available 'On-Duty' hours at the origin until the end of the work day.
hosRemCycleDutyTimenumber | string This option indicates the available 'Cycle Time Duty' hours available at the origin until a cycle reset.
sideOfStreetAdherencenumber | string This option indicates the strictness in avoiding the opposite side of the street at the destination. TODO: What is the number range? 0-1?
governorSpeedLimitnumber | string This option tells the service the maximum average road speed to use in route calculations that overrides all other road speeds when the are above this value. Default is disabled and valid values are between 1 and 100mph. TODO: Is this always in MPH when distanceUnits is Kilometers?
tollDiscourageboolean | number | string This option tells the service to avoid tolls. Use 'avoidTolls'.
classOverridesArray.<(alk.val.OverrideClass|number)> | string This option tells the service the travel class overrides. Use 'classOverrides'.
routingTypealk.val.RouteType | number | string This option tells the route type. See
alkx.RouteServiceOptions#routeType.hazMatTypealk.val.HazMat | number | string This option tells the service the HazMat conditions in effect. Use 'hazMat'.
trkUnitsalk.val.VehicleDimensionUnits | number | string This option contains the measurement units for the vehicle. Use 'vehicleDimensionUnits'.
trkHeightnumber | string This option contains the height of the vehicle. Use 'vehicleHeight'.
trkLengthnumber | string This option contains the length of the vehicle. Use 'vehicleLength'.
trkWidthnumber | string This option contains the width of the vehicle. Use 'vehicleWidth'.
trkWeightnumber | string This option contains the weight of the vehicle. Use 'vehicleHeight'.
trkAxlesnumber | string This option contains the number of axles on the vehicle. Use 'axles'.
trkLCVboolean | number | string This option indicates whether the vehicle is a multi-trailer or longer combination. Use 'lcv'.
routeOptimizationalk.val.RouteOptimization | number | string This option tells the service what level of route optimization to perform. Use 'routeOpt'.
-
alkx.RouteServiceResponse{Object}
-
This structure types the return from the
alk.service.RouteService#getcall.Properties:
Name Type Description routeIdstring | undefined This property holds the routeId for the route request in a
alk.layer.MultiRoutingLayer. If this response was not processed by a MultiRoutingLayer, it will be undefined.routeServiceOptionsalkx.RouteServiceOptions This property contains the combined options for a call to the ALK Route Service that generated the associated GeoJSON response from the service.
geoJSONObject | undefined This property contains the result of a ALK Route Service call from the associated options. It is generally a Feature Collection containing Features that are the stops, and the multi-line string containing the route.
If a Route Service call was unsuccessful, this property will be undefined.
distancenumber | undefined This property contains the result of the ALK Route Service call from the associated options. It is the distance (in DistanceUnits) of driving the entire route. If a Route Service call was unsuccessful, this property will be undefined.
minutesnumber | undefined This property contains the result of the ALK Route Service call from the associated options. It is the estimated time, in minutes, duration of driving the entire route. If a Route Service call was unsuccessful, this property will be undefined.
-
alkx.RouteSourceOptions{Object}
-
Properties:
Name Type Argument Description routeServiceOptionsalkx.RouteServiceOptions | undefined <optional>
This option contains the options that are given to the underlying
alk.service.RouteServiceto create the route. -
alkx.RoutingLayerOptions{Object}
-
Properties:
Name Type Argument Description sourcealkx.RouteServiceOptions | undefined <optional>
This option contains the
alk.source.Routefor the layer.alk.service.RouteServiceto create the route.routeServiceOptionsalkx.RouteServiceOptions | undefined <optional>
This option contains the options that are given to the underlying
alk.service.RouteServiceto create the route.frameRouteboolean | undefined <optional>
This option specifies when the to the underlying
alk.service.RouteServicecompletes successfully, the map will zoom and center to fit the extent of its features.renderOrderol.RenderOrderFunction | null | undefined <optional>
This option is an OpenLayer Vector Layer Option.
Render Order. Function to be used when sorting features before rendering. By default features are drawn in the order that they are created. Use null to avoid the sort, but get an undefined draw order. Required.
The default order of creation is, route lines, then stops in order from origin to destination.
minResolutionnumber | undefined <optional>
This option is an OpenLayer Vector Layer Option.
The minimum resolution (inclusive) at which this layer will be visible.
maxResolutionnumber | undefined <optional>
This option is an OpenLayer Vector Layer Option.
The maximum resolution (exclusive) below which this layer will be visible.
opacitynumber | undefined <optional>
This option is an OpenLayer Vector Layer Option.
Opacity (0, 1). Default is
1.declutterboolean | undefined <optional>
This option is an OpenLayer Vector Layer Option.
Declutter images and text. Decluttering is applied to all image and text styles, and the priority is defined by the z-index of the style. Lower z-index means higher priority. Default is false.
renderBuffernumber | undefined <optional>
This option is an OpenLayer Vector Layer Option.
The buffer around the viewport extent used by the renderer when getting features from the vector source for the rendering or hit-detection. Recommended value: the size of the largest symbol, line width, or label. Default is 100 pixels.
mapol.PluggableMap | undefined <optional>
This option is an OpenLayer Vector Layer Option.
Sets the layer as overlay on a map. The map will not manage this layer in its layers collection, and the layer will be rendered on top. This is useful for temporary layers. The standard way to add a layer to a map and have it managed by the map is to use
ol.Map#addLayer.stylealk.style.RoutingLayerStyle | alk.style.StrokeQueue | Array.<ol.style.Stroke> | ol.style.Style | Array.<ol.style.Style> | ol.StyleFunction | undefined <optional>
This option specifies the style or style function to be used in drawing the stops and route. The default is to use a
alk.style.StopsRouteStyleobject that labels stops according to their stop type and draws the route lines in between.If the style is a
alk.style.RoutingLayerStyleit is used directly. All others result in creating aalk.style.StopsRouteStylewith the given style. If the style is aalk.style.StrokeQueueit creates a StopsRouteStyle with this StrokeQueue. This approach allows you to direct which colors are drawn for routes on different routing layers.If the style is a single stroke, it sets up a StrokeQueue containing that stroke. If it is an array of Strokes, it sets up a StrokeQueue containing those strokes.
If it is anything else, the style is passed to the ol.layer.Vector for default styling.
updateWhileAnimatingboolean | undefined <optional>
This option is an OpenLayer Vector Layer Option.
When set to true, feature batches will be recreated during animations. This means that no vectors will be shown clipped, but the setting will have a performance impact for large amounts of vector data. When set to false, batches will be recreated when no animation is active. Default is false.
updateWhileInteractingboolean | undefined <optional>
This option is an OpenLayer Vector Layer Option.
When set to true, feature batches will be recreated during interactions. See also
updateWhileAnimating.visibleboolean | undefined <optional>
This option is an OpenLayer Vector Layer Option.
Visibility. Default is
true(visible).zIndexnumber | undefined <optional>
This option is an OpenLayer Vector Layer Option.
The z-index for layer rendering. At rendering time, the layers will be ordered, first by Z-index and then by position. The default Z-index is 0.
-
alkx.SearchSingleSearchServiceOptions{Object}
-
This typedef specifies the options needed for the constructor and get functions of the
alk.service.SearchSingleSearchService.Properties:
Name Type Description apiKeystring This option contains the ALK ApiKey that gives you permission to extract data from ALK Servers.
codesArray.<string> | string This option specifies the FIPS codes for counties in the search.
datasetalk.val.Dataset | number | string The option contains the Dataset parameter for the Service. This option specifies an area dataset that may be pertinent to the request.
hostURLstring This option contains the the host and port URL for the particular service. This option is not set by the user, but is automatically generated from the particular service being used.
pathstring This option is the path part of the URL for the particular service. This option is not set by the user, but is automatically generated from the particular service being used.
regionalk.val.Region | number | string This option tells the service in which region the retrieved data is to pertain. Some ALK Services switch underlying services due to this option. For instance, traffic data for North America and Europe may come from different underlying services.
maxResultsnumber | string This option specifies the max number of results to return. It must be between 1 and 100, inclusive.
countryTypestring This option specifies the country type abbreviation the countries parameter is using.
countriesArray.<string> | string This option specifies the countries for the search. They must be in the form specified by the countryType parameter.
statesArray.<string> | string This option specifies the states with which to restrict the search. Their values must come from the "Abbrev" attribute of states returned from the
alk.service.StatesSingleSearchService.excludeSearchTypesArray.<string> | string This option specifies the search types to exclude when analysing the query of the search. Their values must come from the
alk.service.SearchTypesSingleSearchService.poiCategoriesArray.<string> | string This options specifies the Points of Interest categories with which to restrict the search. Their values must come from the
alk.service.POICategoriesSingleSearchService.coordsArray.<string> | string This options specifies the coordinates with which to restrict the search. The projection must be EPSG:4356.
-
alkx.SearchSingleSearchServiceResponse{Object}
-
-
alkx.SearchTypesSingleSearchServiceOptions{Object}
-
This typedef specifies the options needed for the constructor and get functions of the
alk.service.SearchTypesSingleSearchService.Properties:
Name Type Description apiKeystring This option contains the ALK ApiKey that gives you permission to extract data from ALK Servers.
codesArray.<string> | string This option specifies the FIPS codes for counties in the search.
datasetalk.val.Dataset | number | string The option contains the Dataset parameter for the Service. This option specifies an area dataset that may be pertinent to the request.
hostURLstring This option contains the the host and port URL for the particular service. This option is not set by the user, but is automatically generated from the particular service being used.
pathstring This option is the path part of the URL for the particular service. This option is not set by the user, but is automatically generated from the particular service being used.
regionalk.val.Region | number | string This option tells the service in which region the retrieved data is to pertain. Some ALK Services switch underlying services due to this option. For instance, traffic data for North America and Europe may come from different underlying services.
-
alkx.SearchTypesSingleSearchServiceResponse{Object}
-
The response returned from a call to the
alk.service.SearchTypesSingleSearchService#getcall.Properties:
Name Type Description searchTypesSingleSearchServiceOptionsalkx.SearchTypesSingleSearchServiceOptions The options that were used to make the call.
resultalkx.SearchTypesSingleSearchServiceResult The result of the request.
-
alkx.SearchTypesSingleSearchServiceResult{Object}
-
The result returned from a
alk.service.SearchTypesSingleSearchService#getcall.Properties:
Name Type Description POICategoriesArray.<string> An array of POI Categories
alk.val.POICategoriesstring values.ErrArray.<string> An error number.
ErrStringArray.<string> An error description.
-
alkx.ServiceOptions{Object}
-
This typedef specifies the 'catch all' object for options needed for for various subclasses of
alk.service.Service.- fmt ::= DA ('|' Time)?
- Time :: = DayTime | SpecificDateTime
- DA ::= 'Depart' | 'Arrive'
- DayOfWeek ::= 'Monday' | 'Tuesday' | ... | 'Sunday';
- DayTime ::= DayOfWeek '|' TimeOfDay ('|' TimeZone)?
- SpecificDateTime ::= YYYY-MM-DDTHH:MM:SS ('|' TimeZone)?
alk.val.VehicleDimensionUnits.English- 12'6", 12.0 (feet)
alk.val.VehicleDimensionUnits.Metric- 4.114 (meters)
Properties:
Name Type Argument Description afSetIdsArray.<(string|number)> | string This option lists the avoid/favor sets to the route.
apiKeystring This option contains the ALK ApiKey that gives you permission to extract data from ALK Servers.
avoidFavorsboolean | number | string This option tells the service whether or not to use avoids and favors while routing.
avoidTollsboolean | number | string This option tells the service to avoid toll roads and bridges while creating the route.
axlesnumber | string This option contains the number of axles on the vehicle.
boundingBoxArray.<number> | string This option holds the bounding box, or extent in which the items are requested.
centerArray.<number> | string This option contains the center of the search.
certaintyalk.val.Certainty | number | string This option specifies a search filter on the Certainty. Default is
alk.val.Certainty.All.citystring This option specifies the city that will be used to search.
citySearchFilterstring This option specifies the city search filter to use. TODO: Various values?
classOverridesArray.<(alk.val.OverrideClass|number)> | string This option tells the service the travel class overrides. Use 'classOverrides'.
codesArray.<string> | string This option specifies the FIPS codes for counties in the search.
coordsArray.<string> | string This options specifies the coordinates with which to restrict the search. The projection must be EPSG:4356.
countriesArray.<string> | string This option specifies the countries for the search. They must be in the form specified by the countryType parameter.
countryTypestring This option specifies the country type abbreviation the countries parameter is using.
currentSpeednumber | string This option specifies speed of the vehicle in Miles Per Hour.
datasetalk.val.Dataset | number | string The option contains the Dataset parameter for the Service. This option specifies an area dataset that may be pertinent to the request.
displayalk.val.Display | number | string This option tells the service the display type in which to return image data or tiles.
distanceUnitsalk.val.DistanceUnits | number | string This option tells the service that any distance measurements will be delivered in these units, such as
alk.val.DistanceUnits.Kilometersoralk.val.DistanceUnits.Miles.drawerGroupsArray.<(alk.val.DrawerGroup|number)> | string The DrawerGroups parameter for the Service.
elevationLimitnumber | string This option tells the service the distance above sea level to keep the route. Its value is interpreted according to the 'distanceUnits' option.
endTimestring The time before which to search for weather alerts. Use standard formats such as ISO8601("2015-08-29T13:45:30-07:00") or RFC1123("Sat, 29 Aug 2015 20:45:30 GMT").
estimatedTimeOptsstring This option contains the parameter for the estimated time optimizations. This option only affects routing when roads have time based restrictions. Format is described by this BNF notation:
Examples are: -- Arrive|Monday|18:53|Local -- Depart|2016-04-23T09:43:20|Local -- Arrive (meaning system time)
eventNamesArray.<string> | string This option specifies a search filter on the event names, such as ["Winter Storm Warning", "Flood Watch"].
excludeSearchTypesArray.<string> | string This option specifies the search types to exclude when analysing the query of the search. Their values must come from the
alk.service.SearchTypesSingleSearchService.ferryDiscourageboolean | number | string This option tells the service to avoid ferries when creating the route.
formatalk.val.Format | number This option tells the Service in which format to deliver its image data.
governorSpeedLimitnumber | string This option tells the service the maximum average road speed to use in route calculations that overrides all other road speeds when the are above this value. Default is disabled and valid values are between 1 and 100mph. TODO: Is this always in MPH when distanceUnits is Kilometers?
hazMatalk.val.HazMat | number | string This option tells the service the hazardous material type.
hazMatTypealk.val.HazMat | number | string This option tells the service the HazMat conditions in effect. Use 'hazMat'.
headingstring | number This option specifies heading. The value is in degrees counter clockwise from East. East = 0, North = 90, West = 180 , South = 270.
heightnumber | string This option tells the service the height in which to return image data or tiles. The value is in pixels.
highwayOnlyboolean | number | string This option tells the service to generate a route that will travel mostly along highways.
histDayalk.val.HistDay | number | string This option tells the service the history in which to return image data or tiles. TODO: Better description.
histTimeBinnumber | string This option tells the service the history in which to return image data or tiles. TODO: Better description.
histTimeZonestring This option tells the service the history in which to return image data or tiles. TODO: Better description.
hosEnabledboolean | number | string This option enables insertion of Hours Of Service Stops.
hosRemCycleDutyTimenumber | string This option indicates the available 'Cycle Time Duty' hours available at the origin until a cycle reset.
hosRemDriveTimenumber | string This option indicates the available driving hours at the origin until the end of the workday.
hosRemDriveTimeUntilBreaknumber | string This option indicates the available driving hours at the origin before the driver needs to take a rest break.
hosRemOnDutyTimenumber | string This option indicates the available 'On-Duty' hours at the origin until the end of the work day.
hosRuleTypealk.val.HosRuleType | number | string This option indicates the hours of service rule to use. Valid values are
alk.val.HosRuleType.USFed607Horalk.val.HosRuleType.USFed708Hfor US Federal Long Haul rules.hostURLstring This option contains the the host and port URL for the particular service. This option is not set by the user, but is automatically generated from the particular service being used.
hourOffsetnumber | string This option tells the service the hour offset in which to return image data or tiles. TODO: Better description.
hubRoutingboolean | number | string This option tells the service if 'hub routing' is in effect. This means that the starting stop is the hub. The last stop is in effect, not a destination, but a turn around point.
identifierstring The string that identifies the camera.
imgOptionalk.val.ImgOption | number | string This option tells the service which way to deliver the image data. Available values are 'Background', 'Foreground', and 'Both'.
imgSrcalk.val.ImgSrc | number | string This option tells the service from where to get its image data. The available names, such as 'Sat1' and 'Sat2', have specific designations with ALK. Please see {TODO: Need Reference Here} for a current description.
includeLinkInfoboolean | number | string This option specifies the response to include link identifier information.
includePostedSpeedLimitboolean | number | string This option specifies the response to include the posted speed limit information. Good only for ALK licenses that include speed limit.
languagealk.val.Language | string This option tells the service the particular language for the results.
lcvboolean | number | string This option tells whether the truck is a multi-trailer or longer combination vehicle.
listnumber | string This option tells the service how many results to return.
matchNamedRoadsOnlyboolean | number | string This option is tells the service that when it is looking up coordinates to force reverse geocoding to match named roads only.
maxCleanupMilesnumber | string This option is tells the service that when it is looking up coordinates sets maximum radius in which to find the closest matching road.
maxResultsnumber | string This option specifies the max number of results to return. It must be between 1 and 100, inclusive.
minutesnumber | string This option contains the number of driving minutes, with which to size the polygon.
nameFilterstring The results will be filtered by a likeness to this name;
openBordersboolean | number | string This option tells the service if the borders are open for travel.
overrideClassArray.<(alk.val.OverrideClass|number)> | string This option tells the service the classes of vehicle travel. Such as
alk.val.OverrideClass.NationalNetworkoralk.val.OverrideClass.FiftyThreeFoot.overrideRestrictboolean | number | string This option tells the service whether to override truck restrictions.
pathstring This option is the path part of the URL for the particular service. This option is not set by the user, but is automatically generated from the particular service being used.
poiCategoriesArray.<string> | string This options specifies the Points of Interest categories with which to restrict the search. Their values must come from the
alk.service.POICategoriesSingleSearchService.pointArray.<number> | string TODO: What does point mean for WeatherAlerts.
postCodestring This option contains the postal code to use in the search.
postCodeFilterstring This option contains the postal code filter to use in the search. The service uses this option to filter zip codes by country. For example, use 'US' to indicate US zip codes only. Use 'EM' to indicate Mexican postal codes only. Use a sequence of country codes for multiple. TODO: Are they separated by commas?
provideralk.val.Provider | number | string This option tells the service the provider in which to return image data or tiles. The options are Default or RC1.
pt1Array.<number> | string This option pertains to only those services that return single images where the options pt1 and pt2 represent the NorthWest and SouthEast coordinates,respectively. This option holds the NorthWest coordinate.
pt2Array.<number> | string | undefined <optional>
This option pertains to only those services that return single images where the options pt1 and pt2 represent the NorthWest and SouthEast coordinates,respectively. This option holds the SouthEast coordinate.
radiusnumber | string This option contains the radius in radiusUnits of the search.
radiusUnitsalk.val.DistanceUnits | number | string This option contains the units with which to interpret the radius option.
reduceResponsePointsboolean | number | string This option tells the service whether to reduce the number of response points.
regionalk.val.Region | number | string This option tells the service in which region the retrieved data is to pertain. Some ALK Services switch underlying services due to this option. For instance, traffic data for North America and Europe may come from different underlying services.
requestIdnumber | string | undefined <optional>
This option contains a caller provided id that will be residing on the options when the call is returned. This parameter helps identify the request. It does not get transmitted to the server.
routeDurationnumber | string This option tells the service the duration route for which to get the road conditions.
routeOptalk.val.RouteOptimization | string | undefined <optional>
This option tells the service the level of route optimization to use.
routeOptimizationalk.val.RouteOptimization | number | string This option tells the service what level of route optimization to perform. Use 'routeOpt'.
routePathArray.<Array.<number>> This option tells the service the route for which to get the road conditions.
routePathRequestalkx.route.RoutePathRequest | string This option contains the full route path request to give to the
alk.service.RoutePathService. It can be an object, which is the request, or a JSON.stringified version of it.routeTypealk.val.RouteType | number | string This option tells the service the type of the route requested. It can be
alk.val.RouteType.Practicaloralk.val.RouteType.Shortest.routingTypealk.val.RouteType | number | string This option tells the route type. See
alkx.RouteServiceOptions#routeType.setIdnumber | string This option contains the setId that names to which the subsequent calls will pertain.
severityalk.val.Severity | number | string This option specifies a search filter on the Severity. Default is
alk.val.Severity.All.sideOfStreetAdherencenumber | string This option indicates the strictness in avoiding the opposite side of the street at the destination. TODO: What is the number range? 0-1?
splcstring This option contains the Standard Point Lookup Code. It is used in place of using street/city/state/zip.
srsalk.val.SRS | number | string This option tells the service the particular projection that is used any GIS data given to the service.
startTimestring The time after which to search for weather alerts. Use standard formats such as ISO8601("2015-08-29T13:45:30-07:00") or RFC1123("Sat, 29 Aug 2015 20:45:30 GMT").
statestring This option contains the state (or provence) to use in the search.
statesArray.<string> | string This option specifies the states with which to restrict the search. Their values must come from the "Abbrev" attribute of states returned from the
alk.service.StatesSingleSearchService.stopTypesArray.<alk.val.StopType> | Object.<number, alk.val.StopType> This option contains an ordered array or indexed object map of the types of each stop given in the 'stops' option.
stopsArray.<Array.<number>> This option contains the stops that the route is to travel along. It is supplied in Spherical Mercator unless, specified by the 'srs' option. It contains an ordered array of coordinates from origin to destination.
stopsAsViaPointsboolean | number | string This option tells the service that all stops in between the origin and the destination are to be treated as not a stop, but a via point.
streetstring This option contains the state (or provence) to use in the search.
strokeWidthnumber | string This option tells the service the stroke width to use in drawing the traffic.
stylealk.val.Style | number | string This option tells the service the style of map that is requested. ALK has a number of different map styles, such as
alk.val.Style.Night, andalk.val.Style.Terrain.timeOffsetstring This option tells the service the offset in time in which to return image weather data or tiles.
TODO: Format?
tollDiscourageboolean | number | string This option tells the service to avoid tolls. Use 'avoidTolls'.
trkAxlesnumber | string This option contains the number of axles on the vehicle. Use 'axles'.
trkHeightnumber | string This option contains the height of the vehicle. Use 'vehicleHeight'.
trkLCVboolean | number | string This option indicates whether the vehicle is a multi-trailer or longer combination. Use 'lcv'.
trkLengthnumber | string This option contains the length of the vehicle. Use 'vehicleLength'.
trkUnitsalk.val.VehicleDimensionUnits | number | string This option contains the measurement units for the vehicle. Use 'vehicleDimensionUnits'.
trkWeightnumber | string This option contains the weight of the vehicle. Use 'vehicleHeight'.
trkWidthnumber | string This option contains the width of the vehicle. Use 'vehicleWidth'.
truckConfigalk.val.TruckConfig | number | string This option specifies the particular vehicle configuration, such as
alk.val.TruckConfig.FullSizeVan, etc.urbanboolean | number | string This option specifies that the search is in an urban area.
urgencyalk.val.Urgency | number | string This option specifies a search filter on the Urgency. Default is
alk.val.Urgency.All.vehicleDimensionUnitsalk.val.VehicleDimensionUnits | number | string This option tells the service in what units, metric or otherwise, the vehicle measurements are presented. Can be either
vehicleHeightnumber | string This option contains the height measurement of the vehicle.
vehicleLengthnumber | string This option contains the length measurement of the vehicle.
vehicleTypealk.val.VehicleType | number | string This option tells the service the type of vehicle that is requesting the route.
vehicleWeightnumber | string This option contains the weight measurement of the vehicle.
vehicleWidthnumber | string This option contains the width measurement of the vehicle.
widthnumber | string This option tells the service the width in which to return image data or tiles. The value is in pixels.
borderWaitnumber | string | undefined <optional>
TODO: write description
breakIntervalnumber | string | undefined <optional>
TODO: write description
breakLengthnumber | string | undefined <optional>
TODO: write description
citeIntervalnumber | string | undefined <optional>
TODO: write description
condenseDirectionsboolean | number | string | undefined <optional>
TODO: write description
costGreenHouseGasnumber | string | undefined <optional>
TODO: write description
costMaintenanceEmptynumber | string | undefined <optional>
TODO: write description
costMaintenanceLoadnumber | string | undefined <optional>
TODO: write description
costPerFuelUnitnumber | string | undefined <optional>
TODO: write description
costTimeEmptynumber | string | undefined <optional>
TODO: write description
costTimeLoadnumber | string | undefined <optional>
TODO: write description
customRoadSpeedsstring | undefined <optional>
TODO: write description
exchangeRatenumber | string | undefined <optional>
TODO: write description
fuelEconomyEmptynumber | string | undefined <optional>
TODO: write description
fuelEconomyLoadnumber | string | undefined <optional>
TODO: write description
fuelUnitsalk.val.FuelUnits | number | string | undefined <optional>
TODO: write description
includeFerryDistanceboolean | number | string | undefined <optional>
TODO: write description
includeTollDataboolean | number | string | undefined <optional>
TODO: write description
remainingHoursOfServicenumber | string | undefined <optional>
TODO: write description
reportFormatalk.val.ReportFormat | number | string | undefined <optional>
TODO: write description
reportsArray.<(alk.val.Report|number)> | string | undefined <optional>
TODO: write description
routeIdstring | undefined <optional>
TODO: write description
stopCostsArray.<(alkx.StopCost|string)> | string | undefined <optional>
TODO: write description
tHoursWithSecondsnumber | string | undefined <optional>
TODO: write description
tollCurrencyalk.val.TollCurrency | number | string | undefined <optional>
TODO: write description
tollPlanArray.<(alk.val.TollPlan|number)> | string | undefined <optional>
TODO: write description
useTrafficboolean | number | string | undefined <optional>
TODO: write description
-
alkx.SingleSearchItemPopupOptions{Object}
-
Properties:
Name Type Argument Description singleSearchItemPopupalkx.SingleSearchLocation The Single Search Location.
idnumber | string | undefined <optional>
Set the overlay id. The overlay id can be used with the
ol.Map#getOverlayByIdmethod.offsetArray.<number> | undefined <optional>
Offsets in pixels used when positioning the overlay. The first element in the array is the horizontal offset. A positive value shifts the overlay right. The second element in the array is the vertical offset. A positive value shifts the overlay down. Default is
[0, 0].positionol.Coordinate | undefined <optional>
The overlay position in map projection.
positioningol.OverlayPositioning | string | undefined <optional>
Defines how the overlay is actually positioned with respect to its
positionproperty. Possible values are'bottom-left','bottom-center','bottom-right','center-left','center-center','center-right','top-left','top-center', and'top-right'. Default is'top-left'.stopEventboolean | undefined <optional>
Whether event propagation to the map viewport should be stopped. Default is
true. Iftruethe overlay is placed in the same container as that of the controls (CSS class nameol-overlaycontainer-stopevent); iffalseit is placed in the container with CSS class nameol-overlaycontainer.insertFirstboolean | undefined <optional>
Whether the overlay is inserted first in the overlay container, or appended. Default is
true. If the overlay is placed in the same container as that of the controls (see thestopEventoption) you will probably setinsertFirsttotrueso the overlay is displayed below the controls.autoPanboolean | undefined <optional>
If set to
truethe map is panned when callingsetPosition, so that the overlay is entirely visible in the current viewport. The default isfalse.autoPanAnimationolx.OverlayPanOptions | undefined <optional>
The animation options used to pan the overlay into view. This animation is only used when
autoPanis enabled. Adurationandeasingmay be provided to customize the animation.autoPanMarginnumber | undefined <optional>
The margin (in pixels) between the overlay and the borders of the map when autopanning. The default is
20. -
alkx.SingleSearchLayerOptions{Object}
-
Properties:
Name Type Argument Description sourcealk.source.SingleSearch | undefined <optional>
This option contains the
alk.source.SingleSearchfor the layer.singleSearchSourceOptionsalkx.SingleSearchSourceOptions | undefined <optional>
This option contains the options that are given used to create the source internally.
frameSearchResultsboolean | undefined <optional>
This option specifies when the search completes successfully, the map will zoom and center to fit the extent of its features.
renderOrderol.RenderOrderFunction | null | undefined <optional>
This option is an OpenLayer Vector Layer Option.
Render Order. Function to be used when sorting features before rendering. By default features are drawn in the order that they are created. Use null to avoid the sort, but get an undefined draw order. Required.
The default order of creation is, route lines, then stops in order from origin to destination.
minResolutionnumber | undefined <optional>
This option is an OpenLayer Vector Layer Option.
The minimum resolution (inclusive) at which this layer will be visible.
maxResolutionnumber | undefined <optional>
This option is an OpenLayer Vector Layer Option.
The maximum resolution (exclusive) below which this layer will be visible.
opacitynumber | undefined <optional>
This option is an OpenLayer Vector Layer Option.
Opacity (0, 1). Default is
1.declutterboolean | undefined <optional>
This option is an OpenLayer Vector Layer Option.
Declutter images and text. Decluttering is applied to all image and text styles, and the priority is defined by the z-index of the style. Lower z-index means higher priority. Default is false.
renderBuffernumber | undefined <optional>
This option is an OpenLayer Vector Layer Option.
The buffer around the viewport extent used by the renderer when getting features from the vector source for the rendering or hit-detection. Recommended value: the size of the largest symbol, line width, or label. Default is 100 pixels.
mapol.PluggableMap | undefined <optional>
This option is an OpenLayer Vector Layer Option.
Sets the layer as overlay on a map. The map will not manage this layer in its layers collection, and the layer will be rendered on top. This is useful for temporary layers. The standard way to add a layer to a map and have it managed by the map is to use
ol.Map#addLayer.stylealk.style.SingleSearchStyle | ol.style.Style | Array.<ol.style.Style> | ol.StyleFunction | undefined <optional>
This option specifies the style or style function to be used in drawing the road surface along the route. The default is to use a
alk.style.SingleSearchStyle..If the style is a
alk.style.SingleSearchStyleit is used directly. All others result in creating aalk.style.SingleSearchStylewith the given style.If it is anything else, the style is passed to the ol.layer.Vector for default styling.
updateWhileAnimatingboolean | undefined <optional>
This option is an OpenLayer Vector Layer Option.
When set to true, feature batches will be recreated during animations. This means that no vectors will be shown clipped, but the setting will have a performance impact for large amounts of vector data. When set to false, batches will be recreated when no animation is active. Default is false.
updateWhileInteractingboolean | undefined <optional>
This option is an OpenLayer Vector Layer Option.
When set to true, feature batches will be recreated during interactions. See also
updateWhileAnimating.visibleboolean | undefined <optional>
This option is an OpenLayer Vector Layer Option.
Visibility. Default is
true(visible).zIndexnumber | undefined <optional>
This option is an OpenLayer Vector Layer Option.
The z-index for layer rendering. At rendering time, the layers will be ordered, first by Z-index and then by position. The default Z-index is 0.
zIndexnumber | undefined <optional>
This option is an OpenLayer Vector Layer Option.
The z-index for layer rendering. At rendering time, the layers will be ordered, first by Z-index and then by position. The default Z-index is 0.
-
alkx.SingleSearchLocation{Object}
-
-
alkx.SingleSearchLocationAddress{Object}
-
-
alkx.SingleSearchPopupInteractionOptions{Object}
-
There are no available options for this Interaction.
-
alkx.SingleSearchResult{Object}
-
-
alkx.SingleSearchSourceOptions{Object}
-
Properties:
Name Type Argument Description searchSingleSearchServicealk.service.SearchSingleSearchService This option contains the Search Single Search service with which to use for this source.
searchSingleSearchServiceOptionsalkx.SearchSingleSearchServiceOptions This option contains the Search Single Search service options with which to create internally for this source.
wrapXboolean | undefined <optional>
This option is an OpenLayers option passed to the
ol.source.XYZsuper class of thealk.source.XYZSourceobject from its subclasses.Whether to wrap the world horizontally. The default,
undefined, is to request out-of-bounds tiles from the server. When set tofalse, only one world will be rendered. When set totrue, tiles will be requested for one world only, but they will be wrapped horizontally to render multiple worlds. -
alkx.StatesSingleSearchServiceOptions{Object}
-
This typedef specifies the options needed for the constructor and get functions of the
alk.service.StatesSingleSearchService.Properties:
Name Type Description apiKeystring This option contains the ALK ApiKey that gives you permission to extract data from ALK Servers.
codesArray.<string> | string This option specifies the FIPS codes for counties in the search.
datasetalk.val.Dataset | number | string The option contains the Dataset parameter for the Service. This option specifies an area dataset that may be pertinent to the request.
hostURLstring This option contains the the host and port URL for the particular service. This option is not set by the user, but is automatically generated from the particular service being used.
pathstring This option is the path part of the URL for the particular service. This option is not set by the user, but is automatically generated from the particular service being used.
regionalk.val.Region | number | string This option tells the service in which region the retrieved data is to pertain. Some ALK Services switch underlying services due to this option. For instance, traffic data for North America and Europe may come from different underlying services.
-
alkx.StatesSingleSearchServiceResponse{Object}
-
-
alkx.StatesSingleSearchServiceResult{Object}
-
-
alkx.StopCost{Object}
-
-
alkx.StopOptions{Object}
-
-
alkx.SubtractionLoadStrategyOptions{Object}
-
These options are specified for the SubtractionLoadStrategyOptions constructor.
Properties:
Name Type Description minResolutionnumber This option specifies the minimum resolution for which the load strategy will provide extents. The number is specified in meters per pixel.
maxResolutionnumber This option specifies the maximum resolution for which the load strategy will provide extents. The number is specified in meters per pixel.
-
alkx.TileLayerOptions{Object}
-
These are the options that are supplied for the
alk.layer.ImageTileLayer.Properties:
Name Type Argument Description sourcealk.source.XYZSource This option sets the ALK XYZ based source for this layer. Required.
opacitynumber | undefined <optional>
This option is an OpenLayer Vector Layer Option.
Opacity (0, 1). Default is
1.preloadnumber | undefined <optional>
This option is an OpenLayer Vector Layer Option.
Preload. Load low-resolution tiles up to
preloadlevels. By defaultpreloadis0, which means no preloading.mapol.PluggableMap | undefined <optional>
This option is an OpenLayer Vector Layer Option.
Sets the layer as overlay on a map. The map will not manage this layer in its layers collection, and the layer will be rendered on top. This is useful for temporary layers. The standard way to add a layer to a map and have it managed by the map is to use
ol.Map#addLayer.visibleboolean | undefined <optional>
This option is an OpenLayer Vector Layer Option.
Visibility. Default is
true(visible).extentol.Extent | undefined <optional>
This option is an OpenLayer Vector Layer Option.
The bounding extent for layer rendering. The layer will not be rendered outside of this extent.
minResolutionnumber | undefined <optional>
This option is an OpenLayer Vector Layer Option.
The minimum resolution (inclusive) at which this layer will be visible.
maxResolutionnumber | undefined <optional>
This option is an OpenLayer Vector Layer Option.
The maximum resolution (exclusive) below which this layer will be visible.
useInterimTilesOnErrorboolean | undefined <optional>
This option is an OpenLayer Vector Layer Option.
Use interim tiles on error. Default is
true.zIndexnumber | undefined <optional>
This option is an OpenLayer Vector Layer Option.
The z-index for layer rendering. At rendering time, the layers will be ordered, first by Z-index and then by position. The default Z-index is 0.
-
alkx.TrafficCameraMetadata{Object}
-
-
alkx.TrafficCameraMetadataCacheOptions{Object}
-
Properties:
Name Type Argument Description trafficCameraMetadataServicealk.service.TrafficCameraMetadataService | undefined <optional>
This option contains the Traffic Camera Metadata service.
-
alkx.TrafficCameraMetadataServiceOptions{Object}
-
This typedef specifies the options for the Weather Alert Service.
Properties:
Name Type Description apiKeystring This option contains the ALK ApiKey that gives you permission to extract data from ALK Servers.
hostURLstring This option contains the the host and port URL for the particular service. This option is not set by the user, but is automatically generated from the particular service being used.
pathstring This option is the path part of the URL for the particular service. This option is not set by the user, but is automatically generated from the particular service being used.
identifierstring The string that identifies the camera.
-
alkx.TrafficCameraMetadataServiceResponse
-
-
alkx.TrafficCameraPopupInteractionOptions{Object}
-
Properties:
Name Type Description trafficCameraMetadataCachealk.source.TrafficCameraMetadataCache This option contains the traffic camera meta data cache to use. If this option is undefined, one will be created with the trafficCameraMetadataService option.
trafficCameraMetadataServicealk.service.TrafficCameraMetadataService This option contains the traffic camera meta data service to use if no traffic camera meta data cache is supplied. If this option is undefined, a traffic camera meta data cache will be created with the default TrafficCameraMetadataService without options.
-
alkx.TrafficCameraPopupOptions{Object}
-
Properties:
Name Type Argument Description trafficCameraalkx.TrafficCameraMetadata The Traffic Camera Spec.
idnumber | string | undefined <optional>
Set the overlay id. The overlay id can be used with the
ol.Map#getOverlayByIdmethod.offsetArray.<number> | undefined <optional>
Offsets in pixels used when positioning the overlay. The first element in the array is the horizontal offset. A positive value shifts the overlay right. The second element in the array is the vertical offset. A positive value shifts the overlay down. Default is
[0, 0].positionol.Coordinate | undefined <optional>
The overlay position in map projection.
positioningol.OverlayPositioning | string | undefined <optional>
Defines how the overlay is actually positioned with respect to its
positionproperty. Possible values are'bottom-left','bottom-center','bottom-right','center-left','center-center','center-right','top-left','top-center', and'top-right'. Default is'top-left'.stopEventboolean | undefined <optional>
Whether event propagation to the map viewport should be stopped. Default is
true. Iftruethe overlay is placed in the same container as that of the controls (CSS class nameol-overlaycontainer-stopevent); iffalseit is placed in the container with CSS class nameol-overlaycontainer.insertFirstboolean | undefined <optional>
Whether the overlay is inserted first in the overlay container, or appended. Default is
true. If the overlay is placed in the same container as that of the controls (see thestopEventoption) you will probably setinsertFirsttotrueso the overlay is displayed below the controls.autoPanboolean | undefined <optional>
If set to
truethe map is panned when callingsetPosition, so that the overlay is entirely visible in the current viewport. The default isfalse.autoPanAnimationolx.OverlayPanOptions | undefined <optional>
The animation options used to pan the overlay into view. This animation is only used when
autoPanis enabled. Adurationandeasingmay be provided to customize the animation.autoPanMarginnumber | undefined <optional>
The margin (in pixels) between the overlay and the borders of the map when autopanning. The default is
20. -
alkx.TrafficCamerasLayerOptions{Object}
-
Properties:
Name Type Argument Description trafficCamerasServiceOptionsalkx.TrafficCamerasServiceOptions | undefined <optional>
This option contains the options that are given to create the underlying
alk.source.TrafficCamerasSourceandalk.service.TrafficCamerasServiceto retrieve the weather alerts.This option is mutually exclusive with the 'source' option.
sourcealk.source.TrafficCamerasSource | ol.source.Cluster | undefined <optional>
This option contains the vector source for the Traffic Cameras. If clustering is desired, wrap the source in a ol.source.Cluster source. This option is mutually exclusive with trafficCamerasServiceOptions.
renderOrderol.RenderOrderFunction | null | undefined <optional>
This option is an OpenLayer Vector Layer Option.
Render Order. Function to be used when sorting features before rendering. By default features are drawn in the order that they are created. Use null to avoid the sort, but get an undefined draw order. Required.
The default order of creation is, route lines, then stops in order from origin to destination.
minResolutionnumber | undefined <optional>
This option is an OpenLayer Vector Layer Option.
The minimum resolution (inclusive) at which this layer will be visible.
maxResolutionnumber | undefined <optional>
This option is an OpenLayer Vector Layer Option.
The maximum resolution (exclusive) below which this layer will be visible.
opacitynumber | undefined <optional>
This option is an OpenLayer Vector Layer Option.
Opacity (0, 1). Default is
1.declutterboolean | undefined <optional>
This option is an OpenLayer Vector Layer Option.
Declutter images and text. Decluttering is applied to all image and text styles, and the priority is defined by the z-index of the style. Lower z-index means higher priority. Default is false.
renderBuffernumber | undefined <optional>
This option is an OpenLayer Vector Layer Option.
The buffer around the viewport extent used by the renderer when getting features from the vector source for the rendering or hit-detection. Recommended value: the size of the largest symbol, line width, or label. Default is 100 pixels.
mapol.PluggableMap | undefined <optional>
This option is an OpenLayer Vector Layer Option.
Sets the layer as overlay on a map. The map will not manage this layer in its layers collection, and the layer will be rendered on top. This is useful for temporary layers. The standard way to add a layer to a map and have it managed by the map is to use
ol.Map#addLayer.stylealk.style.TrafficCamerasLayerStyle | alk.style.StrokeQueue | Array.<ol.style.Stroke> | ol.style.Style | Array.<ol.style.Style> | ol.StyleFunction | undefined <optional>
This option specifies the style or style function to be used in drawing the weather alerts.
If it is anything else, the style is passed to the ol.layer.Vector for default styling.
updateWhileAnimatingboolean | undefined <optional>
This option is an OpenLayer Vector Layer Option.
When set to true, feature batches will be recreated during animations. This means that no vectors will be shown clipped, but the setting will have a performance impact for large amounts of vector data. When set to false, batches will be recreated when no animation is active. Default is false.
updateWhileInteractingboolean | undefined <optional>
This option is an OpenLayer Vector Layer Option.
When set to true, feature batches will be recreated during interactions. See also
updateWhileAnimating.visibleboolean | undefined <optional>
This option is an OpenLayer Vector Layer Option.
Visibility. Default is
true(visible).zIndexnumber | undefined <optional>
This option is an OpenLayer Vector Layer Option.
The z-index for layer rendering. At rendering time, the layers will be ordered, first by Z-index and then by position. The default Z-index is 0.
-
alkx.TrafficCameraSpec{Object}
-
-
alkx.TrafficCamerasServiceOptions{Object}
-
This typedef describes the options given to the
alk.service.TrafficCamerasService.Properties:
Name Type Description apiKeystring This option contains the ALK ApiKey that gives you permission to extract data from ALK Servers.
datasetalk.val.Dataset | number | string The option contains the Dataset parameter for the Service. This option specifies an area dataset that may be pertinent to the request.
regionalk.val.Region | number | string This option tells the service in which region the retrieved data is to pertain. Some ALK Services switch underlying services due to this option. For instance, traffic data for North America and Europe may come from different underlying services.
srsalk.val.SRS | number | string This option tells the service the particular projection that is used any GIS data given to the service.
hostURLstring This option contains the the host and port URL for the particular service. This option is not set by the user, but is automatically generated from the particular service being used.
pathstring This option is the path part of the URL for the particular service. This option is not set by the user, but is automatically generated from the particular service being used.
boundingBoxArray.<number> | string This option holds the bounding box, or extent in which the items are requested.
-
alkx.TrafficCamerasServiceResponse{Object}
-
-
alkx.TrafficCamerasSourceOptions{Object}
-
Properties:
Name Type Argument Description trafficCamerasServicealk.service.TrafficCamerasService | undefined <optional>
This option supplies the TrafficCamerasService to use within this source. This option is mutually exclusive with the trafficCamerasServiceOptions options.
trafficCamerasServiceOptionsalkx.TrafficCamerasServiceOptions | undefined <optional>
This option supplies the properties with which to create this source's internal
alk.service.TrafficCamerasService. This option is mutually exclusive with the trafficCamerasSource option.attributionsol.AttributionLike | undefined <optional>
This option is an OpenLayers option passed to the
ol.source.XYZsuper class of thealk.source.XYZSourceobject from its subclasses.Attributions.
cacheSizenumber | undefined <optional>
This option is an OpenLayers option passed to the
ol.source.XYZsuper class of thealk.source.XYZSourceobject from its subclasses.Cache size. Default is 2048.
extentol.Extent | undefined <optional>
This option is an OpenLayers option passed to the
ol.source.XYZsuper class of thealk.source.XYZSourceobject from its subclasses.It contains the map extent in which the source is relevant.
crossOriginnull | string | undefined <optional>
This option is an OpenLayers option passed to the
ol.source.XYZsuper class of thealk.source.XYZSourceobject from its subclasses.The crossOrigin attribute for loaded images. Note that you must provide a
crossOriginvalue if you are using the WebGL renderer or if you want to access pixel data with the Canvas renderer. See [https://developer.mozilla.org/en-US/docs/Web/HTML/CORS_enabled_image] for more detail.opaqueboolean | undefined <optional>
This option is an OpenLayers option passed to the
ol.source.XYZsuper class of thealk.source.XYZSourceobject from its subclasses.Whether the layer is opaque.
maxZoomnumber | undefined <optional>
This option is an OpenLayers option passed to the
ol.source.XYZsuper class of thealk.source.XYZSourceobject from its subclasses.Optional maximum zoom level. Default is 20 (ALK specific).
reprojectionErrorThresholdnumber | undefined <optional>
This option is an OpenLayers option passed to the
ol.source.XYZsuper class of thealk.source.XYZSourceobject from its subclasses.Maximum allowed reprojection error (in pixels). Default is 0.5. Higher values may increase reprojection performance, but decrease precision.
wrapXboolean | undefined <optional>
This option is an OpenLayers option passed to the
ol.source.XYZsuper class of thealk.source.XYZSourceobject from its subclasses.Whether to wrap the world horizontally. The default,
undefined, is to request out-of-bounds tiles from the server. When set tofalse, only one world will be rendered. When set totrue, tiles will be requested for one world only, but they will be wrapped horizontally to render multiple worlds. -
alkx.TrafficIncidentPopupInteractionOptions{Object}
-
There are no available options for this Interaction.
-
alkx.TrafficIncidentPopupOptions{Object}
-
Properties:
Name Type Argument Description trafficIncidentalkx.TrafficIncidentSpec The Traffic Camera Spec.
idnumber | string | undefined <optional>
Set the overlay id. The overlay id can be used with the
ol.Map#getOverlayByIdmethod.offsetArray.<number> | undefined <optional>
Offsets in pixels used when positioning the overlay. The first element in the array is the horizontal offset. A positive value shifts the overlay right. The second element in the array is the vertical offset. A positive value shifts the overlay down. Default is
[0, 0].positionol.Coordinate | undefined <optional>
The overlay position in map projection.
positioningol.OverlayPositioning | string | undefined <optional>
Defines how the overlay is actually positioned with respect to its
positionproperty. Possible values are'bottom-left','bottom-center','bottom-right','center-left','center-center','center-right','top-left','top-center', and'top-right'. Default is'top-left'.stopEventboolean | undefined <optional>
Whether event propagation to the map viewport should be stopped. Default is
true. Iftruethe overlay is placed in the same container as that of the controls (CSS class nameol-overlaycontainer-stopevent); iffalseit is placed in the container with CSS class nameol-overlaycontainer.insertFirstboolean | undefined <optional>
Whether the overlay is inserted first in the overlay container, or appended. Default is
true. If the overlay is placed in the same container as that of the controls (see thestopEventoption) you will probably setinsertFirsttotrueso the overlay is displayed below the controls.autoPanboolean | undefined <optional>
If set to
truethe map is panned when callingsetPosition, so that the overlay is entirely visible in the current viewport. The default isfalse.autoPanAnimationolx.OverlayPanOptions | undefined <optional>
The animation options used to pan the overlay into view. This animation is only used when
autoPanis enabled. Adurationandeasingmay be provided to customize the animation.autoPanMarginnumber | undefined <optional>
The margin (in pixels) between the overlay and the borders of the map when autopanning. The default is
20. -
alkx.TrafficIncidentsLayerOptions{Object}
-
Properties:
Name Type Argument Description trafficIncidentsServiceOptionsalkx.TrafficIncidentsServiceOptions | undefined <optional>
This option contains the options that are given to create the underlying
alk.source.TrafficIncidentsSourceandalk.service.TrafficIncidentsServiceto retrieve the weather alerts.This option is mutually exclusive with the 'source' option.
sourcealk.source.TrafficIncidentsSource | ol.source.Cluster | undefined <optional>
This option contains the vector source for the Traffic Cameras. If clustering is desired, wrap the source in a ol.source.Cluster source. This option is mutually exclusive with trafficIncidentsServiceOptions.
renderOrderol.RenderOrderFunction | null | undefined <optional>
This option is an OpenLayer Vector Layer Option.
Render Order. Function to be used when sorting features before rendering. By default features are drawn in the order that they are created. Use null to avoid the sort, but get an undefined draw order. Required.
The default order of creation is, route lines, then stops in order from origin to destination.
minResolutionnumber | undefined <optional>
This option is an OpenLayer Vector Layer Option.
The minimum resolution (inclusive) at which this layer will be visible.
maxResolutionnumber | undefined <optional>
This option is an OpenLayer Vector Layer Option.
The maximum resolution (exclusive) below which this layer will be visible.
opacitynumber | undefined <optional>
This option is an OpenLayer Vector Layer Option.
Opacity (0, 1). Default is
1.declutterboolean | undefined <optional>
This option is an OpenLayer Vector Layer Option.
Declutter images and text. Decluttering is applied to all image and text styles, and the priority is defined by the z-index of the style. Lower z-index means higher priority. Default is false.
renderBuffernumber | undefined <optional>
This option is an OpenLayer Vector Layer Option.
The buffer around the viewport extent used by the renderer when getting features from the vector source for the rendering or hit-detection. Recommended value: the size of the largest symbol, line width, or label. Default is 100 pixels.
mapol.PluggableMap | undefined <optional>
This option is an OpenLayer Vector Layer Option.
Sets the layer as overlay on a map. The map will not manage this layer in its layers collection, and the layer will be rendered on top. This is useful for temporary layers. The standard way to add a layer to a map and have it managed by the map is to use
ol.Map#addLayer.stylealk.style.TrafficIncidentsLayerStyle | alk.style.StrokeQueue | Array.<ol.style.Stroke> | ol.style.Style | Array.<ol.style.Style> | ol.StyleFunction | undefined <optional>
This option specifies the style or style function to be used in drawing the weather alerts.
If it is anything else, the style is passed to the ol.layer.Vector for default styling.
updateWhileAnimatingboolean | undefined <optional>
This option is an OpenLayer Vector Layer Option.
When set to true, feature batches will be recreated during animations. This means that no vectors will be shown clipped, but the setting will have a performance impact for large amounts of vector data. When set to false, batches will be recreated when no animation is active. Default is false.
updateWhileInteractingboolean | undefined <optional>
This option is an OpenLayer Vector Layer Option.
When set to true, feature batches will be recreated during interactions. See also
updateWhileAnimating.visibleboolean | undefined <optional>
This option is an OpenLayer Vector Layer Option.
Visibility. Default is
true(visible). -
alkx.TrafficIncidentSpec{Object}
-
-
alkx.TrafficIncidentsServiceOptions{Object}
-
This typedef describes the options given to the
alk.service.TrafficIncidentsService.Properties:
Name Type Description apiKeystring This option contains the ALK ApiKey that gives you permission to extract data from ALK Servers.
datasetalk.val.Dataset | number | string The option contains the Dataset parameter for the Service. This option specifies an area dataset that may be pertinent to the request.
languagealk.val.Language | string This option tells the service the particular language for the results.
regionalk.val.Region | number | string This option tells the service in which region the retrieved data is to pertain. Some ALK Services switch underlying services due to this option. For instance, traffic data for North America and Europe may come from different underlying services.
srsalk.val.SRS | number | string This option tells the service the particular projection that is used any GIS data given to the service.
hostURLstring This option contains the the host and port URL for the particular service. This option is not set by the user, but is automatically generated from the particular service being used.
pathstring This option is the path part of the URL for the particular service. This option is not set by the user, but is automatically generated from the particular service being used.
boundingBoxArray.<number> | string This option holds the bounding box, or extent in which the items are requested.
-
alkx.TrafficIncidentsServiceResponse{Object}
-
-
alkx.TrafficIncidentsSourceOptions{Object}
-
Properties:
Name Type Argument Description trafficIncidentsServicealk.service.TrafficIncidentsService | undefined <optional>
This option supplies the TrafficIncidentsService to use within this source. This option is mutually exclusive with the trafficIncidentsServiceOptions options.
trafficIncidentsServiceOptionsalkx.TrafficIncidentsServiceOptions | undefined <optional>
This option supplies the properties with which to create this source's internal
alk.service.TrafficIncidentsService. This option is mutually exclusive with the trafficIncidentsSource option.attributionsol.AttributionLike | undefined <optional>
This option is an OpenLayers option passed to the
ol.source.XYZsuper class of thealk.source.XYZSourceobject from its subclasses.Attributions.
cacheSizenumber | undefined <optional>
This option is an OpenLayers option passed to the
ol.source.XYZsuper class of thealk.source.XYZSourceobject from its subclasses.Cache size. Default is 2048.
extentol.Extent | undefined <optional>
This option is an OpenLayers option passed to the
ol.source.XYZsuper class of thealk.source.XYZSourceobject from its subclasses.It contains the map extent in which the source is relevant.
crossOriginnull | string | undefined <optional>
This option is an OpenLayers option passed to the
ol.source.XYZsuper class of thealk.source.XYZSourceobject from its subclasses.The crossOrigin attribute for loaded images. Note that you must provide a
crossOriginvalue if you are using the WebGL renderer or if you want to access pixel data with the Canvas renderer. See [https://developer.mozilla.org/en-US/docs/Web/HTML/CORS_enabled_image] for more detail.opaqueboolean | undefined <optional>
This option is an OpenLayers option passed to the
ol.source.XYZsuper class of thealk.source.XYZSourceobject from its subclasses.Whether the layer is opaque.
maxZoomnumber | undefined <optional>
This option is an OpenLayers option passed to the
ol.source.XYZsuper class of thealk.source.XYZSourceobject from its subclasses.Optional maximum zoom level. Default is 20 (ALK specific).
reprojectionErrorThresholdnumber | undefined <optional>
This option is an OpenLayers option passed to the
ol.source.XYZsuper class of thealk.source.XYZSourceobject from its subclasses.Maximum allowed reprojection error (in pixels). Default is 0.5. Higher values may increase reprojection performance, but decrease precision.
wrapXboolean | undefined <optional>
This option is an OpenLayers option passed to the
ol.source.XYZsuper class of thealk.source.XYZSourceobject from its subclasses.Whether to wrap the world horizontally. The default,
undefined, is to request out-of-bounds tiles from the server. When set tofalse, only one world will be rendered. When set totrue, tiles will be requested for one world only, but they will be wrapped horizontally to render multiple worlds. -
alkx.TrafficLayerOptions{Object}
-
Properties:
Name Type Argument Description sourceOptionsalkx.TrafficSourceOptions This option holds the options to create the source
alk.source.TrafficSource.opacitynumber | undefined <optional>
This option is an OpenLayer Vector Layer Option.
Opacity (0, 1). Default is
1.preloadnumber | undefined <optional>
This option is an OpenLayer Vector Layer Option.
Preload. Load low-resolution tiles up to
preloadlevels. By defaultpreloadis0, which means no preloading.mapol.PluggableMap | undefined <optional>
This option is an OpenLayer Vector Layer Option.
Sets the layer as overlay on a map. The map will not manage this layer in its layers collection, and the layer will be rendered on top. This is useful for temporary layers. The standard way to add a layer to a map and have it managed by the map is to use
ol.Map#addLayer.visibleboolean | undefined <optional>
This option is an OpenLayer Vector Layer Option.
Visibility. Default is
true(visible).extentol.Extent | undefined <optional>
This option is an OpenLayer Vector Layer Option.
The bounding extent for layer rendering. The layer will not be rendered outside of this extent.
minResolutionnumber | undefined <optional>
This option is an OpenLayer Vector Layer Option.
The minimum resolution (inclusive) at which this layer will be visible.
maxResolutionnumber | undefined <optional>
This option is an OpenLayer Vector Layer Option.
The maximum resolution (exclusive) below which this layer will be visible.
useInterimTilesOnErrorboolean | undefined <optional>
This option is an OpenLayer Vector Layer Option.
Use interim tiles on error. Default is
true.declutterboolean | undefined <optional>
This option is an OpenLayer Vector Layer Option.
Declutter images and text. Decluttering is applied to all image and text styles, and the priority is defined by the z-index of the style. Lower z-index means higher priority. Default is false.
zIndexnumber | undefined <optional>
This option is an OpenLayer Vector Layer Option.
The z-index for layer rendering. At rendering time, the layers will be ordered, first by Z-index and then by position. The default Z-index is 0.
-
alkx.TrafficServiceOptions{Object}
-
This typedef describes the options given to the
alk.service.TrafficService.Properties:
Name Type Description apiKeystring This option contains the ALK ApiKey that gives you permission to extract data from ALK Servers.
datasetalk.val.Dataset | number | string The option contains the Dataset option for the Service. This option specifies an area dataset that may be pertinent to the request.
formatalk.val.Format | number This option tells the Service in which format to deliver its image data.
heightnumber | string This option tells the service the height in which to return image data or tiles. The value is in pixels.
imgOptionalk.val.ImgOption | number | string This option tells the service which way to deliver the image data. Available values are 'Background', 'Foreground', and 'Both'.
imgSrcalk.val.ImgSrc | number | string This option tells the service from where to get its image data. The available names, such as
alk.val.ImgSrc.Sat1andalk.val.ImgSrc.Sat2, have specific designations within ALK.Please see {TODO: Need Reference Here} for a current description.
regionalk.val.Region | number | string This option tells the service in which region the retrieved data is to pertain. Some ALK Services switch underlying services due to this option. For instance, traffic data for North America and Europe may come from different underlying services.
srsalk.val.SRS | number | string This option tells the service the particular projection that is used any GIS data given to the service.
strokeWidthnumber | string This option tells the service the stroke width to use in drawing the traffic.
stylealk.val.Style | number | string This option tells the service the style of map that is requested. ALK has a number of different map styles, such as
alk.val.Style.Night, andalk.val.Style.Terrain.hostURLstring This option contains the the host and port URL for the particular service. This option is not set by the user, but is automatically generated from the particular service being used.
pathstring This option is the path part of the URL for the particular service. This option is not set by the user, but is automatically generated from the particular service being used.
widthnumber | string This option tells the service the width in which to return image data or tiles. The value is in pixels.
histTimeBinnumber | string This option tells the service the history in which to return image data or tiles. TODO: Better description.
histDayalk.val.HistDay | number | string This option tells the service the history in which to return image data or tiles. TODO: Better description.
histTimeZonestring This option tells the service the history in which to return image data or tiles. TODO: Better description.
pt1Array.<number> | string This option pertains to only those services that return single images where the options pt1 and pt2 represent the NorthWest and SouthEast coordinates,respectively. This option holds the NorthWest coordinate.
pt2Array.<number> | string | undefined This option pertains to only those services that return single images where the options pt1 and pt2 represent the NorthWest and SouthEast coordinates,respectively. This option holds the SouthEast coordinate.
-
alkx.TrafficSourceOptions{Object}
-
Properties:
Name Type Argument Description serviceOptionsalkx.TrafficServiceOptions | undefined <optional>
attributionsol.AttributionLike | undefined <optional>
This option is an OpenLayers option passed to the
ol.source.XYZsuper class of thealk.source.XYZSourceobject from its subclasses.Attributions.
cacheSizenumber | undefined <optional>
This option is an OpenLayers option passed to the
ol.source.XYZsuper class of thealk.source.XYZSourceobject from its subclasses.Cache size. Default is 2048.
extentol.Extent | undefined <optional>
This option is an OpenLayers option passed to the
ol.source.XYZsuper class of thealk.source.XYZSourceobject from its subclasses.It contains the map extent in which the source is relevant.
crossOriginnull | string | undefined <optional>
This option is an OpenLayers option passed to the
ol.source.XYZsuper class of thealk.source.XYZSourceobject from its subclasses.The crossOrigin attribute for loaded images. Note that you must provide a
crossOriginvalue if you are using the WebGL renderer or if you want to access pixel data with the Canvas renderer. See [https://developer.mozilla.org/en-US/docs/Web/HTML/CORS_enabled_image] for more detail.opaqueboolean | undefined <optional>
This option is an OpenLayers option passed to the
ol.source.XYZsuper class of thealk.source.XYZSourceobject from its subclasses.Whether the layer is opaque.
projectionol.ProjectionLike | undefined <optional>
This option is an OpenLayers option passed to the
ol.source.XYZsuper class of thealk.source.XYZSourceobject from its subclasses.This options contains the projection with which to interpret other options, such as the extent.
maxZoomnumber | undefined <optional>
This option is an OpenLayers option passed to the
ol.source.XYZsuper class of thealk.source.XYZSourceobject from its subclasses.Optional maximum zoom level. Default is 20 (ALK specific).
minZoomnumber | undefined <optional>
This option is an OpenLayers option passed to the
ol.source.XYZsuper class of thealk.source.XYZSourceobject from its subclasses.Optional minimum zoom level. Default is 0.
tileGridol.tilegrid.TileGrid | undefined <optional>
This option is an OpenLayers option passed to the
ol.source.XYZsuper class of thealk.source.XYZSourceobject from its subclasses.Tile Grid.
tileLoadFunctionol.TileLoadFunctionType | undefined <optional>
This option is an OpenLayers option passed to the
ol.source.XYZsuper class of thealk.source.XYZSourceobject from its subclasses.Optional function to load a tile given a URL. The default is function(imageTile, src) { imageTile.getImage().src = src; };
tilePixelRationumber | undefined <optional>
This option is an OpenLayers option passed to the
ol.source.XYZsuper class of thealk.source.XYZSourceobject from its subclasses.The pixel ratio used by the tile service. For example, if the tile service advertises 256px by 256px tiles but actually sends 512px by 512px images (for retina/hidpi devices) then tilePixelRatio should be set to 2. Default is 1.
tileSizenumber | undefined <optional>
This option is an OpenLayers option passed to the
ol.source.XYZsuper class of thealk.source.XYZSourceobject from its subclasses.The tile size used by the tile service. Default is [256, 256] pixels.
tileUrlFunctionol.TileUrlFunctionType | undefined <optional>
This option is an OpenLayers option passed to the
ol.source.XYZsuper class of thealk.source.XYZSourceobject from its subclasses.Optional function to get tile URL given a tile coordinate and the projection. Required if url or urls are not provided.
reprojectionErrorThresholdnumber | undefined <optional>
This option is an OpenLayers option passed to the
ol.source.XYZsuper class of thealk.source.XYZSourceobject from its subclasses.Maximum allowed reprojection error (in pixels). Default is 0.5. Higher values may increase reprojection performance, but decrease precision.
wrapXboolean | undefined <optional>
This option is an OpenLayers option passed to the
ol.source.XYZsuper class of thealk.source.XYZSourceobject from its subclasses.Whether to wrap the world horizontally. The default,
undefined, is to request out-of-bounds tiles from the server. When set tofalse, only one world will be rendered. When set totrue, tiles will be requested for one world only, but they will be wrapped horizontally to render multiple worlds.transitionnumber | undefined <optional>
This option is an OpenLayers option passed to the
ol.source.XYZsuper class of thealk.source.XYZSourceobject from its subclasses.Duration of the opacity transition for rendering. To disable the opacity transition, pass transition: 0.
-
alkx.TrafficTileServiceOptions{Object}
-
This typedef describes the options given to the
alk.service.TrafficTileService.Properties:
Name Type Description apiKeydatasetformatheightimgOptionimgSrcregionsrsstrokeWidthstylehostURLpathwidthhistTimeBinhistDayhistTimeZone -
alkx.WeatherAlert{Object}
-
-
alkx.WeatherAlertPopupOptions{Object}
-
Properties:
Name Type Argument Description weatherAlertalkx.WeatherAlert The Weather Alert.
idnumber | string | undefined <optional>
Set the overlay id. The overlay id can be used with the
ol.Map#getOverlayByIdmethod.offsetArray.<number> | undefined <optional>
Offsets in pixels used when positioning the overlay. The first element in the array is the horizontal offset. A positive value shifts the overlay right. The second element in the array is the vertical offset. A positive value shifts the overlay down. Default is
[0, 0].positionol.Coordinate | undefined <optional>
The overlay position in map projection.
positioningol.OverlayPositioning | string | undefined <optional>
Defines how the overlay is actually positioned with respect to its
positionproperty. Possible values are'bottom-left','bottom-center','bottom-right','center-left','center-center','center-right','top-left','top-center', and'top-right'. Default is'top-left'.stopEventboolean | undefined <optional>
Whether event propagation to the map viewport should be stopped. Default is
true. Iftruethe overlay is placed in the same container as that of the controls (CSS class nameol-overlaycontainer-stopevent); iffalseit is placed in the container with CSS class nameol-overlaycontainer.insertFirstboolean | undefined <optional>
Whether the overlay is inserted first in the overlay container, or appended. Default is
true. If the overlay is placed in the same container as that of the controls (see thestopEventoption) you will probably setinsertFirsttotrueso the overlay is displayed below the controls.autoPanboolean | undefined <optional>
If set to
truethe map is panned when callingsetPosition, so that the overlay is entirely visible in the current viewport. The default isfalse.autoPanAnimationolx.OverlayPanOptions | undefined <optional>
The animation options used to pan the overlay into view. This animation is only used when
autoPanis enabled. Adurationandeasingmay be provided to customize the animation.autoPanMarginnumber | undefined <optional>
The margin (in pixels) between the overlay and the borders of the map when autopanning. The default is
20. -
alkx.WeatherAlertsLayerOptions{Object}
-
Properties:
Name Type Argument Description weatherAlertsServiceOptionsalkx.WeatherAlertsServiceOptions | undefined <optional>
This option contains the options that are given to create the underlying
alk.source.WeatherAlertsSourceandalk.service.WeatherAlertsServiceto retrieve the weather alerts.This option is mutually exclusive with the 'source' option.
sourcealk.source.WeatherAlertsSource | undefined <optional>
This option contains the vector source for the Weather Alerts. This option is mutually exclusive with weatherAlertsServiceOptions.
renderOrderol.RenderOrderFunction | null | undefined <optional>
This option is an OpenLayer Vector Layer Option.
Render Order. Function to be used when sorting features before rendering. By default features are drawn in the order that they are created. Use null to avoid the sort, but get an undefined draw order. Required.
The default order of creation is, route lines, then stops in order from origin to destination.
minResolutionnumber | undefined <optional>
This option is an OpenLayer Vector Layer Option.
The minimum resolution (inclusive) at which this layer will be visible.
maxResolutionnumber | undefined <optional>
This option is an OpenLayer Vector Layer Option.
The maximum resolution (exclusive) below which this layer will be visible.
opacitynumber | undefined <optional>
This option is an OpenLayer Vector Layer Option.
Opacity (0, 1). Default is
1.declutterboolean | undefined <optional>
This option is an OpenLayer Vector Layer Option.
Declutter images and text. Decluttering is applied to all image and text styles, and the priority is defined by the z-index of the style. Lower z-index means higher priority. Default is false.
renderBuffernumber | undefined <optional>
This option is an OpenLayer Vector Layer Option.
The buffer around the viewport extent used by the renderer when getting features from the vector source for the rendering or hit-detection. Recommended value: the size of the largest symbol, line width, or label. Default is 100 pixels.
mapol.PluggableMap | undefined <optional>
This option is an OpenLayer Vector Layer Option.
Sets the layer as overlay on a map. The map will not manage this layer in its layers collection, and the layer will be rendered on top. This is useful for temporary layers. The standard way to add a layer to a map and have it managed by the map is to use
ol.Map#addLayer.stylealk.style.WeatherAlertsLayerStyle | alk.style.StrokeQueue | Array.<ol.style.Stroke> | ol.style.Style | Array.<ol.style.Style> | ol.StyleFunction | undefined <optional>
This option specifies the style or style function to be used in drawing the weather alerts.
If it is anything else, the style is passed to the ol.layer.Vector for default styling.
updateWhileAnimatingboolean | undefined <optional>
This option is an OpenLayer Vector Layer Option.
When set to true, feature batches will be recreated during animations. This means that no vectors will be shown clipped, but the setting will have a performance impact for large amounts of vector data. When set to false, batches will be recreated when no animation is active. Default is false.
updateWhileInteractingboolean | undefined <optional>
This option is an OpenLayer Vector Layer Option.
When set to true, feature batches will be recreated during interactions. See also
updateWhileAnimating.visibleboolean | undefined <optional>
This option is an OpenLayer Vector Layer Option.
Visibility. Default is
true(visible).zIndexnumber | undefined <optional>
This option is an OpenLayer Vector Layer Option.
The z-index for layer rendering. At rendering time, the layers will be ordered, first by Z-index and then by position. The default Z-index is 0.
-
alkx.WeatherAlertsServiceOptions{Object}
-
This typedef specifies the options for the Weather Alert Service.
Properties:
Name Type Argument Description apiKeystring This option contains the ALK ApiKey that gives you permission to extract data from ALK Servers.
datasetalk.val.Dataset | number | string The option contains the Dataset parameter for the Service. This option specifies an area dataset that may be pertinent to the request.
regionalk.val.Region | number | string This option tells the service in which region the retrieved data is to pertain. Some ALK Services switch underlying services due to this option. For instance, traffic data for North America and Europe may come from different underlying services.
srsalk.val.SRS | number | string This option tells the service the particular projection that is used any GIS data given to the service.
hostURLstring This option contains the the host and port URL for the particular service. This option is not set by the user, but is automatically generated from the particular service being used.
pathstring This option is the path part of the URL for the particular service. This option is not set by the user, but is automatically generated from the particular service being used.
pt1Array.<number> | string This option pertains to only those services that return single images where the options pt1 and pt2 represent the NorthWest and SouthEast coordinates,respectively. This option holds the NorthWest coordinate.
pt2Array.<number> | string | undefined <optional>
This option pertains to only those services that return single images where the options pt1 and pt2 represent the NorthWest and SouthEast coordinates,respectively. This option holds the SouthEast coordinate.
pointArray.<number> | string TODO: What does point mean for WeatherAlerts.
urgencyalk.val.Urgency | number | string This option specifies a search filter on the Urgency. Default is
alk.val.Urgency.All.severityalk.val.Severity | number | string This option specifies a search filter on the Severity. Default is
alk.val.Severity.All.certaintyalk.val.Certainty | number | string This option specifies a search filter on the Certainty. Default is
alk.val.Certainty.All.eventNamesArray.<string> | string This option specifies a search filter on the event names, such as ["Winter Storm Warning", "Flood Watch"].
startTimestring The time after which to search for weather alerts. Use standard formats such as ISO8601("2015-08-29T13:45:30-07:00") or RFC1123("Sat, 29 Aug 2015 20:45:30 GMT").
endTimestring The time before which to search for weather alerts. Use standard formats such as ISO8601("2015-08-29T13:45:30-07:00") or RFC1123("Sat, 29 Aug 2015 20:45:30 GMT").
-
alkx.WeatherAlertsServiceResponse{Array.<alkx.WeatherAlert>}
-
-
alkx.WeatherAlertsSourceOptions{Object}
-
Properties:
Name Type Argument Description weatherAlertsServicealk.service.WeatherAlertsService | undefined <optional>
This option supplies the WeatherAlertsService to use within this source. This option is mutually exclusive with the weatherAlertsServiceOptions options.
weatherAlertsServiceOptionsalkx.WeatherAlertsServiceOptions | undefined <optional>
This option supplies the properties with which to create this source's internal
alk.service.WeatherAlertsService. This option is mutually exclusive with the weatherAlertsSource option.polygonsCountyCachealk.source.PolygonsCountyCache | undefined <optional>
This option supplies the cache for county polygons. If this option is undefined, then one is created with the polygonsCountyCacheOptions option.
This option provides the ability to reuse the cache or replace it with a preloaded one.
polygonsCountyCacheOptionsalkx.PolygonsCountyCacheOptions | undefined <optional>
This option is used to create a cache for county polygons. If the polygonsCountyCache option is undefined, this source creates
alk.source.PolygonsCountyCacheusing these options, defined or not.attributionsol.AttributionLike | undefined <optional>
This option is an OpenLayers option passed to the
ol.source.XYZsuper class of thealk.source.XYZSourceobject from its subclasses.Attributions.
cacheSizenumber | undefined <optional>
This option is an OpenLayers option passed to the
ol.source.XYZsuper class of thealk.source.XYZSourceobject from its subclasses.Cache size. Default is 2048.
extentol.Extent | undefined <optional>
This option is an OpenLayers option passed to the
ol.source.XYZsuper class of thealk.source.XYZSourceobject from its subclasses.It contains the map extent in which the source is relevant.
crossOriginnull | string | undefined <optional>
This option is an OpenLayers option passed to the
ol.source.XYZsuper class of thealk.source.XYZSourceobject from its subclasses.The crossOrigin attribute for loaded images. Note that you must provide a
crossOriginvalue if you are using the WebGL renderer or if you want to access pixel data with the Canvas renderer. See [https://developer.mozilla.org/en-US/docs/Web/HTML/CORS_enabled_image] for more detail.opaqueboolean | undefined <optional>
This option is an OpenLayers option passed to the
ol.source.XYZsuper class of thealk.source.XYZSourceobject from its subclasses.Whether the layer is opaque.
maxZoomnumber | undefined <optional>
This option is an OpenLayers option passed to the
ol.source.XYZsuper class of thealk.source.XYZSourceobject from its subclasses.Optional maximum zoom level. Default is 20 (ALK specific).
reprojectionErrorThresholdnumber | undefined <optional>
This option is an OpenLayers option passed to the
ol.source.XYZsuper class of thealk.source.XYZSourceobject from its subclasses.Maximum allowed reprojection error (in pixels). Default is 0.5. Higher values may increase reprojection performance, but decrease precision.
wrapXboolean | undefined <optional>
This option is an OpenLayers option passed to the
ol.source.XYZsuper class of thealk.source.XYZSourceobject from its subclasses.Whether to wrap the world horizontally. The default,
undefined, is to request out-of-bounds tiles from the server. When set tofalse, only one world will be rendered. When set totrue, tiles will be requested for one world only, but they will be wrapped horizontally to render multiple worlds. -
alkx.WeatherImageTileServiceOptions{Object}
-
This typedef specifies the options needed for the constructor and get calls to
alk.service.WeatherImageTileService.Properties:
Name Type Description apiKeystring This option contains the ALK ApiKey that gives you permission to extract data from ALK Servers.
datasetalk.val.Dataset | number | string The option contains the Dataset parameter for the Service. This option specifies an area dataset that may be pertinent to the request.
formatalk.val.Format | number This option tells the Service in which format to deliver its image data.
heightnumber | string This option tells the service the height in which to return image data or tiles. The value is in pixels.
imgOptionalk.val.ImgOption | number | string This option tells the service which way to deliver the image data. Available values are 'Background', 'Foreground', and 'Both'.
imgSrcalk.val.ImgSrc | number | string This option tells the service from where to get its image data. The available names, such as 'Sat1' and 'Sat2', have specific designations with ALK. Please see {TODO: Need Reference Here} for a current description.
regionalk.val.Region | number | string This option tells the service in which region the retrieved data is to pertain. Some ALK Services switch underlying services due to this option. For instance, traffic data for North America and Europe may come from different underlying services.
srsalk.val.SRS | number | string This option tells the service the particular projection that is used any GIS data given to the service.
stylealk.val.Style | number | string This option tells the service the style of map that is requested. ALK has a number of different map styles, such as
alk.val.Style.Night, andalk.val.Style.Terrain.hostURLstring This option contains the the host and port URL for the particular service. This option is not set by the user, but is automatically generated from the particular service being used.
pathstring This option is the path part of the URL for the particular service. This option is not set by the user, but is automatically generated from the particular service being used.
widthnumber | string This option tells the service the width in which to return image data or tiles. The value is in pixels.
timeOffsetstring This option tells the service the offset in time in which to return image weather data or tiles.
TODO: Format?
-
alkx.WeatherLayerOptions{Object}
-
Properties:
Name Type Argument Description sourceOptionsalkx.BaseMapSourceOptions | undefined <optional>
This option provides the options to create the
alk.source.WeatherSourcesource and itsalk.service.WeatherServicethat will supply the URL to get the base map layer tiles.opacitynumber | undefined <optional>
This option is an OpenLayer Vector Layer Option.
Opacity (0, 1). Default is
1.preloadnumber | undefined <optional>
This option is an OpenLayer Vector Layer Option.
Preload. Load low-resolution tiles up to
preloadlevels. By defaultpreloadis0, which means no preloading.mapol.PluggableMap | undefined <optional>
This option is an OpenLayer Vector Layer Option.
Sets the layer as overlay on a map. The map will not manage this layer in its layers collection, and the layer will be rendered on top. This is useful for temporary layers. The standard way to add a layer to a map and have it managed by the map is to use
ol.Map#addLayer.visibleboolean | undefined <optional>
This option is an OpenLayer Vector Layer Option.
Visibility. Default is
true(visible).extentol.Extent | undefined <optional>
This option is an OpenLayer Vector Layer Option.
The bounding extent for layer rendering. The layer will not be rendered outside of this extent.
minResolutionnumber | undefined <optional>
This option is an OpenLayer Vector Layer Option.
The minimum resolution (inclusive) at which this layer will be visible.
maxResolutionnumber | undefined <optional>
This option is an OpenLayer Vector Layer Option.
The maximum resolution (exclusive) below which this layer will be visible.
useInterimTilesOnErrorboolean | undefined <optional>
This option is an OpenLayer Vector Layer Option.
Use interim tiles on error. Default is
true. -
alkx.WeatherServiceOptions{Object}
-
This typedef specifies the 'catch all' object for options needed for for various subclasses of
alk.service.Service.Properties:
Name Type Description apiKeydatasetdrawerGroupsformatimgOptionimgSrcheightregionsrsstylehostURLpathwidthdisplaypt1pt2 -
alkx.WeatherSourceOptions{Object}
-
Properties:
Name Type Argument Description serviceOptionsalkx.WeatherImageTileServiceOptions | undefined <optional>
attributionsol.AttributionLike | undefined <optional>
This option is an OpenLayers option passed to the
ol.source.XYZsuper class of thealk.source.XYZSourceobject from its subclasses.Attributions.
cacheSizenumber | undefined <optional>
This option is an OpenLayers option passed to the
ol.source.XYZsuper class of thealk.source.XYZSourceobject from its subclasses.Cache size. Default is 2048.
extentol.Extent | undefined <optional>
This option is an OpenLayers option passed to the
ol.source.XYZsuper class of thealk.source.XYZSourceobject from its subclasses.It contains the map extent in which the source is relevant.
crossOriginnull | string | undefined <optional>
This option is an OpenLayers option passed to the
ol.source.XYZsuper class of thealk.source.XYZSourceobject from its subclasses.The crossOrigin attribute for loaded images. Note that you must provide a
crossOriginvalue if you are using the WebGL renderer or if you want to access pixel data with the Canvas renderer. See [https://developer.mozilla.org/en-US/docs/Web/HTML/CORS_enabled_image] for more detail.opaqueboolean | undefined <optional>
This option is an OpenLayers option passed to the
ol.source.XYZsuper class of thealk.source.XYZSourceobject from its subclasses.Whether the layer is opaque.
projectionol.ProjectionLike | undefined <optional>
This option is an OpenLayers option passed to the
ol.source.XYZsuper class of thealk.source.XYZSourceobject from its subclasses.This options contains the projection with which to interpret other options, such as the extent.
maxZoomnumber | undefined <optional>
This option is an OpenLayers option passed to the
ol.source.XYZsuper class of thealk.source.XYZSourceobject from its subclasses.Optional maximum zoom level. Default is 20 (ALK specific).
minZoomnumber | undefined <optional>
This option is an OpenLayers option passed to the
ol.source.XYZsuper class of thealk.source.XYZSourceobject from its subclasses.Optional minimum zoom level. Default is 0.
tileGridol.tilegrid.TileGrid | undefined <optional>
This option is an OpenLayers option passed to the
ol.source.XYZsuper class of thealk.source.XYZSourceobject from its subclasses.Tile Grid.
tileLoadFunctionol.TileLoadFunctionType | undefined <optional>
This option is an OpenLayers option passed to the
ol.source.XYZsuper class of thealk.source.XYZSourceobject from its subclasses.Optional function to load a tile given a URL. The default is function(imageTile, src) { imageTile.getImage().src = src; };
tilePixelRationumber | undefined <optional>
This option is an OpenLayers option passed to the
ol.source.XYZsuper class of thealk.source.XYZSourceobject from its subclasses.The pixel ratio used by the tile service. For example, if the tile service advertises 256px by 256px tiles but actually sends 512px by 512px images (for retina/hidpi devices) then tilePixelRatio should be set to 2. Default is 1.
tileSizenumber | undefined <optional>
This option is an OpenLayers option passed to the
ol.source.XYZsuper class of thealk.source.XYZSourceobject from its subclasses.The tile size used by the tile service. Default is [256, 256] pixels.
tileUrlFunctionol.TileUrlFunctionType | undefined <optional>
This option is an OpenLayers option passed to the
ol.source.XYZsuper class of thealk.source.XYZSourceobject from its subclasses.Optional function to get tile URL given a tile coordinate and the projection. Required if url or urls are not provided.
reprojectionErrorThresholdnumber | undefined <optional>
wrapXboolean | undefined <optional>
This option is an OpenLayers option passed to the
ol.source.XYZsuper class of thealk.source.XYZSourceobject from its subclasses.Whether to wrap the world horizontally. The default,
undefined, is to request out-of-bounds tiles from the server. When set tofalse, only one world will be rendered. When set totrue, tiles will be requested for one world only, but they will be wrapped horizontally to render multiple worlds.transitionnumber | undefined <optional>
This option is an OpenLayers option passed to the
ol.source.XYZsuper class of thealk.source.XYZSourceobject from its subclasses.Duration of the opacity transition for rendering. To disable the opacity transition, pass transition: 0.
-
alkx.XYZSourceOptions{Object}
-
Properties:
Name Type Argument Description attributionsol.AttributionLike | undefined <optional>
This option is an OpenLayers option passed to the
ol.source.XYZsuper class of thealk.source.XYZSourceobject from its subclasses.Attributions.
cacheSizenumber | undefined <optional>
This option is an OpenLayers option passed to the
ol.source.XYZsuper class of thealk.source.XYZSourceobject from its subclasses.Cache size. Default is 2048.
crossOriginnull | string | undefined <optional>
This option is an OpenLayers option passed to the
ol.source.XYZsuper class of thealk.source.XYZSourceobject from its subclasses.The crossOrigin attribute for loaded images. Note that you must provide a
crossOriginvalue if you are using the WebGL renderer or if you want to access pixel data with the Canvas renderer. See [https://developer.mozilla.org/en-US/docs/Web/HTML/CORS_enabled_image] for more detail.logostring | olx.LogoOptions | undefined <optional>
This option is an OpenLayers option passed to the
ol.source.XYZsuper class of thealk.source.XYZSourceobject from its subclasses.Logo
opaqueboolean | undefined <optional>
This option is an OpenLayers option passed to the
ol.source.XYZsuper class of thealk.source.XYZSourceobject from its subclasses.Whether the layer is opaque.
projectionol.ProjectionLike | undefined <optional>
This option is an OpenLayers option passed to the
ol.source.XYZsuper class of thealk.source.XYZSourceobject from its subclasses.This options contains the projection with which to interpret other options, such as the extent.
reprojectionErrorThresholdnumber | undefined <optional>
This option is an OpenLayers option passed to the
ol.source.XYZsuper class of thealk.source.XYZSourceobject from its subclasses.Maximum allowed reprojection error (in pixels). Default is 0.5. Higher values may increase reprojection performance, but decrease precision.
maxZoomnumber | undefined <optional>
This option is an OpenLayers option passed to the
ol.source.XYZsuper class of thealk.source.XYZSourceobject from its subclasses.Optional maximum zoom level. Default is 20 (ALK specific).
minZoomnumber | undefined <optional>
This option is an OpenLayers option passed to the
ol.source.XYZsuper class of thealk.source.XYZSourceobject from its subclasses.Optional minimum zoom level. Default is 0.
tileGridol.tilegrid.TileGrid | undefined <optional>
This option is an OpenLayers option passed to the
ol.source.XYZsuper class of thealk.source.XYZSourceobject from its subclasses.Tile Grid.
tileLoadFunctionol.TileLoadFunctionType | undefined <optional>
This option is an OpenLayers option passed to the
ol.source.XYZsuper class of thealk.source.XYZSourceobject from its subclasses.Optional function to load a tile given a URL. The default is function(imageTile, src) { imageTile.getImage().src = src; };
tilePixelRationumber | undefined <optional>
This option is an OpenLayers option passed to the
ol.source.XYZsuper class of thealk.source.XYZSourceobject from its subclasses.The pixel ratio used by the tile service. For example, if the tile service advertises 256px by 256px tiles but actually sends 512px by 512px images (for retina/hidpi devices) then tilePixelRatio should be set to 2. Default is 1.
tileSizenumber | undefined <optional>
This option is an OpenLayers option passed to the
ol.source.XYZsuper class of thealk.source.XYZSourceobject from its subclasses.The tile size used by the tile service. Default is [256, 256] pixels.
tileUrlFunctionol.TileUrlFunctionType | undefined <optional>
This option is an OpenLayers option passed to the
ol.source.XYZsuper class of thealk.source.XYZSourceobject from its subclasses.Optional function to get tile URL given a tile coordinate and the projection. Required if url or urls are not provided.
servicealk.service.Service | undefined <optional>
This option holds the underlying ALK service used to get the tiles.
wrapXboolean | undefined <optional>
This option is an OpenLayers option passed to the
ol.source.XYZsuper class of thealk.source.XYZSourceobject from its subclasses.Whether to wrap the world horizontally. The default,
undefined, is to request out-of-bounds tiles from the server. When set tofalse, only one world will be rendered. When set totrue, tiles will be requested for one world only, but they will be wrapped horizontally to render multiple worlds.transitionnumber | undefined <optional>
This option is an OpenLayers option passed to the
ol.source.XYZsuper class of thealk.source.XYZSourceobject from its subclasses.Duration of the opacity transition for rendering. To disable the opacity transition, pass transition: 0.