Function Index
$#! · 0-9 · A · B · C · D · E · F · G · H · I · J · K · L · M · N · O · P · Q · R · S · T · U · V · W · X · Y · Z
A
 addRoute, Routing
B
 baseMap, Tile
 buildDetailReport, Util
 buildDirectionReport, Util
 buildGeoTunnelReport, Util
 buildLeastCostReport, Util
 buildMileageReport, Util
 buildStateReport, Util
 buildTableCell, Util
 buildTableOrRow, Util
C
 clone
G
 geocode, Services
 getAPIKey, Util
 getAttribution, Services
 getImageLocation, Util
 getParameterString, Util
 getReports, Services
 getRoutePath, Services
 getScriptSrc, Util
 getUrl, WeatherRadar
 getYear, Util
H
 hideLoading, Util
P
 parseQuery, Util
R
 reverseGeocode, Services
 routing, Routing
 Routing, Routing.L.ALKMaps.Layer
S
 sendRequest, Util
 setDataset, Tile
 setRegion
 setStyle, Tile
 showLoading, Util
 strContains, Util
T
 tile, Tile
 Tile, Tile
 Traffic, Traffic
W
 weatherRadar, WeatherRadar
 WeatherRadar, WeatherRadar.L.ALKMaps.Layer
addRoute: function(params)
Adds a route to the map
The same as tile method.
util.buildDetailReport = function (rptLegs,
distUnits)
Builds the DOM table for the detail report.
util.buildDirectionReport = function(rptLegs)
Builds the DOM table for the directions report.
util.buildGeoTunnelReport = function(gtPoints)
Builds the DOM table for the geotunnel report.
util.buildLeastCostReport = function(leastCostLines,
distUnits)
Builds the DOM table for the least cost report.
util.buildMileageReport = function (rptLines,
distUnits)
Builds the DOM table for the Mileage report.
util.buildStateReport = function(mileageRptLines,
stateRptLines,
distUnits)
Builds the DOM table for the State report.
util.buildTableCell = function (tag,
content,
colspan,
cssClass)
Gets the user given API key from either the script query string or the ALKMaps property.
util.buildTableOrRow = function (tag,
trs,
cssClass,
id)
Builds an DOM table or row.
clone: function(params)
Create a clone of this layer
clone: function()
Create a clone of this layer
services.geocode = function(params)
This function takes address object, returns address arrays with longitudes and latitudes.
Gets the user given API key from either the script query string or the ALKMaps property.
services.getAttribution = function(params)
Retrieves the neccessary attribution for a given layer based on the layer’s type and its settings.
util.getImageLocation = function (image)
Gets the file path for the given image file name.
util.getParameterString = function (params)
Create a query string from the given object.
services.getReports = function(params)
Takes coords objects and report options, return total time and total distance synchronously.
services.getRoutePath = function(params)
Takes coords objects and route options, return lat/lons for the route path.
util.getScriptSrc = function(fileName)
Gets the source path from the HTML script tag of the given file.
getUrl: function()
Get request URL for weather overlay image
util.getYear = function()
Gets the current year.
util.hideLoading = function(map)
util.parseQuery = function(query)
Parses the given query string into an object of name/value pairs.
services.reverseGeocode = function(params)
This function takes latitude and longitude, returns address object synchronously or asynchronously.
layer.routing = function(map)
Create a new ALKMaps.Layer.Routing instance
Initializes a new L.ALKMaps.Layer.Routing object
util.sendRequest = function(params)
Sends a request.
setDataset: function(dataset)
sets/changes dataset of the map
setRegion: function(regionCode)
sets/changes region of the map
setRegion: function(regionCode)
sets/changes region of the map
setStyle: function(styleName)
sets/changes style of the map
util.showLoading = function(map)
util.strContains = function(str,
sub)
Checks if one string is a sub-string of the other.
layer.tile = function(map,
options)
Create a new ALKMaps.Layer.Tile instance
Initializes a new Tile layer object
Initializes a new Traffic layer object
layer.weatherRadar = function(map)
Create a new L.ALKMaps.Layer.WeatherRadar instance
Initializes a new WeatherRadar object
Close