Adds a route to the map
addRoute: function( params )
Builds the DOM table for the detail report.
util.buildDetailReport = function ( rptLegs, distUnits )
Builds the DOM table for the directions report.
util.buildDirectionReport = function( rptLegs )
Builds the DOM table for the geotunnel report.
util.buildGeoTunnelReport = function( gtPoints )
Builds the DOM table for the least cost report.
util.buildLeastCostReport = function( leastCostLines, distUnits )
Builds the DOM table for the Mileage report.
util.buildMileageReport = function ( rptLines, distUnits )
Builds the DOM table for the State report.
util.buildStateReport = function( mileageRptLines, stateRptLines, distUnits )
Gets the user given API key from either the script query string or the ALKMaps property.
util.buildTableCell = function ( tag, content, colspan, cssClass )
Builds an DOM table or row.
util.buildTableOrRow = function ( tag, trs, cssClass, id )
Create a clone of this layer
clone: function( params )
Create a clone of this layer
clone: function()
This function takes address object, returns address arrays with longitudes and latitudes.
services.geocode = function( params )
Retrieves the neccessary attribution for a given layer based on the layer’s type and its settings.
services.getAttribution = function( params )
Gets the file path for the given image file name.
util.getImageLocation = function ( image )
Create a query string from the given object.
util.getParameterString = function ( params )
Takes coords objects and report options, return total time and total distance synchronously.
services.getReports = function( params )
Takes coords objects and route options, return lat/lons for the route path.
services.getRoutePath = function( params )
Gets the source path from the HTML script tag of the given file.
util.getScriptSrc = function( fileName )
Get request URL for weather overlay image
getUrl: function()
Gets the current year.
util.getYear = function()
util.hideLoading = function( map )
Parses the given query string into an object of name/value pairs.
util.parseQuery = function( query )
This function takes latitude and longitude, returns address object synchronously or asynchronously.
services.reverseGeocode = function( params )
Create a new ALKMaps.Layer.Routing instance
layer.routing = function( map )
Sends a request.
util.sendRequest = function( params )
sets/changes dataset of the map
setDataset: function( dataset )
sets/changes region of the map
setRegion: function( regionCode )
sets/changes region of the map
setRegion: function( regionCode )
sets/changes style of the map
setStyle: function( styleName )
util.showLoading = function( map )
Checks if one string is a sub-string of the other.
util.strContains = function( str, sub )
Create a new ALKMaps.Layer.Tile instance
layer.tile = function( map, options )
Create a new L.ALKMaps.Layer.WeatherRadar instance
layer.weatherRadar = function( map )