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
G
  geocode
  geocodingLayer, ALKMaps.Control.SingleSearch
  geodesic
  GeoJSON, ALKMaps.Format.GeoJSON.ALKMaps.Format
  geolocate, ALKMaps.Control.BaseGeolocate
  geolocation, ALKMaps.Control.BaseGeolocate
  geolocationOptions, ALKMaps.Control.BaseGeolocate
  geometry
  Geometry, ALKMaps.Geometry.ALKMaps
  geometryClone, ALKMaps.Handler.Point
  geometryType, ALKMaps.Layer.Vector
  geometryTypeMatches, ALKMaps.Handler.Feature
  geometryTypes
  geomsToFeatures, ALKMaps.Control.Split
  geoSearch, ALKMaps.Map
  geoToleranceCache, ALKMaps.Control.Snapping
  getAlertFilters, ALKMaps.Layer.WeatherAlerts(Leaflet)
  getAlerts, ALKMaps.Layer.WeatherAlerts(Leaflet)
  getAPIKey, Util
  getArea
  getAttributeNodeNS, ALKMaps.Format.XML
  getAttributeNS, ALKMaps.Format.XML
  getAttribution, ALKMaps.Services
  getAvoidFavorBox, ALKMaps.Services
  getAvoidFavorGroup, ALKMaps.Services
  getAvoidFavorSets
  getBarLen, ALKMaps.Control.ScaleLine
  getBestArea, ALKMaps.Control.Measure
  getBestLength, ALKMaps.Control.Measure
  getBounds, ALKMaps.Geometry
  getBoxOffsets, ALKMaps.Handler.Box
  getBrowserName, Util
  getBy, ALKMaps.Map
  getCachedCenter, ALKMaps.Map
  getCameraMetadata, ALKMaps.Layer.TrafficCameras
  getCameras, ALKMaps.Layer.TrafficCameras
  getCanvasContext, ALKMaps.Tile.Image
  getCategoryImage, ALKMaps.Layer.POI
  getCenter, ALKMaps.Map
  getCenterLonLat, ALKMaps.Bounds
  getCenterPixel, ALKMaps.Bounds
  getCentroid
  getChildEl, ALKMaps.Format.XML
  getChildValue, ALKMaps.Format.XML
  getCode, ALKMaps.Projection
  getColorMap, ALKMaps.Layer.HeatMap
  getComponentsString, ALKMaps.Geometry.Collection
  getContentDivPadding
  getContext, ALKMaps.Rule
  getControl, ALKMaps.Map
  getControlsBy
  getControlsByClass
  getControlsByName, ALKMaps.Control.Panel
  getCurrentLocation, ALKMaps.Control.BaseGeolocate
  getCurrentPointIndex
  getCurrentSize, ALKMaps.Map
  getCustomCategories, ALKMaps.Services
  getCustomPlaces, ALKMaps.Services
  getDataExtent
  getDataSet, Util
  getDatasetFromRegion, Util
  getDerivedRoutePath
  getDistance, ALKMaps.Handler.Pinch
  getDragHandleFromNode, ALKMaps.Layer.Routing
  getDriveTimePolygon, ALKMaps.Services
  getElement, Util
  getElementsByTagNameNS, ALKMaps.Format.XML
  getEventInfo, ALKMaps.Handler.Click
  getExtent
  getFeatureArrows, ALKMaps.Layer.Vector
  getFeatureBy, ALKMaps.Layer.Vector
  getFeatureByFid, ALKMaps.Layer.Vector
  getFeatureById, ALKMaps.Layer.Vector
  getFeatureFromEvent, ALKMaps.Layer.Vector
  getFeaturesByAttribute, ALKMaps.Layer.Vector
  getFormattedLonLat, Util
  getFullRequestString
  getGeodesicArea
  getGeodesicLength
  getGeodesicPixelSize, ALKMaps.Map
  getGeometry
  getGeoTolerance, ALKMaps.Control.Snapping
  getHandleAction, ALKMaps.Layer.Routing
  getHeight
  getImage, ALKMaps.Tile.Image
  getImageLocation, Util
  getImageSize, ALKMaps.Layer
  getImagesLocation, Util
  getIncidentImage, ALKMaps.Layer.TrafficIncidents
  getLabelVisibility, ALKMaps.Marker
  getLayer, ALKMaps.Map
  getLayerIndex, ALKMaps.Map
  getLayerPxFromLonLat, ALKMaps.Map
  getLayerPxFromViewPortPx, ALKMaps.Map
  getLayersBy, ALKMaps.Map
  getLayersByClass, ALKMaps.Map
  getLayersByName, ALKMaps.Map
  getLength
  getLonLatFromLayerPx, ALKMaps.Map
  getLonLatFromOverviewPx, ALKMaps.Control.OverviewMap
  getLonLatFromPixel, ALKMaps.Map
  getLonLatFromViewPortPx
  getMapBounds, ALKMaps.Strategy.BBOX
  getMapBoundsFromRectBounds, ALKMaps.Control.OverviewMap
  getMaxExtent
  getMaxResolution, ALKMaps.Map
  getMousePosition, ALKMaps.Events
  getNewAlerts, ALKMaps.Layer.WeatherAlerts
  getNextEl, ALKMaps.Format.XML
  getNextHandle, ALKMaps.Layer.Routing
  getNodes, ALKMaps.Layer.Routing
  getNumLayers, ALKMaps.Map
  getNumZoomLevels, ALKMaps.Map
  getOptions, ALKMaps.Layer
  getOrCreateLinks, ALKMaps.Control.Zoom
  getOrigin, ALKMaps.Layer.PointGrid
  getOverviewPxFromLonLat, ALKMaps.Control.OverviewMap
  getParameters
  getParameterString, Util
  getPinchData, ALKMaps.Handler.Pinch
  getPixelFromLonLat, ALKMaps.Map
  getPoisBy, ALKMaps.Layer.POI
  getPressedButton, ALKMaps.Events.buttonclick
  getPreviousHandle, ALKMaps.Layer.Routing
  getProjection, ALKMaps.Map
  getProjectionObject, ALKMaps.Map
  getRadius, ALKMaps.Control.CircleMeasure
  getRailStations, ALKMaps.Services
  getRectBoundsFromMapBounds, ALKMaps.Control.OverviewMap
  getRegion, Util
  getRenderedDimensions, Util
  getReports
  getResolution
  getResolutionForZoom
  getResolutionFromScale, Util
  getResolutionScale, ALKMaps.Layer.Grid
  getRoadSurfaceRoute, ALKMaps.Services
  getRouteElements, ALKMaps.Layer.Routing
  getRouteLegPoints, ALKMaps.Layer.Routing
  getRouteOptions, ALKMaps.Layer.Routing
  getRoutePath
  getSafeContentSize
  getScale, ALKMaps.Map
  getScaleFromResolution, Util
  getScriptSrc, Util
  getScrollbarWidth, Util
  getServerResolution, ALKMaps.Layer.Grid
  getServerZoom, ALKMaps.Layer.Grid
  getSites, ALKMaps.Layer.Sites
  getSitesBox, ALKMaps.Services
  getSize
  getSketch
  getSlideFactor, ALKMaps.Control.PanZoom
  getSortedSegments, ALKMaps.Geometry.LineString
  getState, ALKMaps.Control.NavigationHistory
  getStyle
  getSymbolizerPrefix, ALKMaps.Style
  getThisOrNextEl, ALKMaps.Format.XML
  getTile, ALKMaps.Tile.Image
  getTileBounds, ALKMaps.Layer.Grid
  getTileData, ALKMaps.Layer.Grid
  getTileOrigin, ALKMaps.Layer.Grid
  getTilesBounds, ALKMaps.Layer.Grid
  getTileSize, ALKMaps.Map
  getTileXYZ, ALKMaps.Layer.BaseMap
  getTouchDistance, ALKMaps.Handler.Click
  getTrafficCameraMetadata, ALKMaps.Services
  getTrafficCamerasBox, ALKMaps.Services
  getTrafficIncidents, ALKMaps.Layer.TrafficIncidents
  getTrafficIncidentsBox, ALKMaps.Services
  getTruckRestrictions, ALKMaps.Services
  getUnits
  getUrl
  getURL
  getVertices
  getViewBounds, ALKMaps.Layer.PointGrid
  getViewport, ALKMaps.Map
  getViewPortDataExtent, ALKMaps.Layer.Markers
  getViewportElement, Util
  getViewPortPxFromLayerPx, ALKMaps.Map
  getViewPortPxFromLonLat
  getVisibility
  getWidth, ALKMaps.Bounds
  getXMLDoc, ALKMaps.Format.XML
  getXmlNodeValue, Util
  getXYZ
  getYear, Util
  getZIndex, ALKMaps.Layer
  getZoom, ALKMaps.Map
  getZoomForExtent
  getZoomForResolution
  granularity, ALKMaps.Control.MousePosition
  graphicHeight, ALKMaps.Symbolizer.Point
  graphicName, ALKMaps.Symbolizer.Point
  graphicOpacity, ALKMaps.Symbolizer.Point
  graphicWidth, ALKMaps.Symbolizer.Point
  graphicXOffset, ALKMaps.Symbolizer.Point
  graphicYOffset, ALKMaps.Symbolizer.Point
  Graticule, ALKMaps.Control.Graticule.ALKMaps.Control
  gratLayer, ALKMaps.Control.Graticule
  greedy, ALKMaps.Control.Snapping
  grid, ALKMaps.Layer.Grid
  Grid, ALKMaps.Layer.Grid.ALKMaps.Layer
  gridBounds, ALKMaps.Layer.PointGrid
  gridResolution, ALKMaps.Layer.Grid
  groupDiv
  gutter, ALKMaps.Layer
ALKMaps.Geocoder.geocode = function ( inputs )
This function takes address object, returns address arrays with longitudes and latitudes.
geocode: function ( inputs )
This function takes address object, returns address arrays with longitudes and latitudes.
{ALKMaps.Layer.VectorMarkers} Location marker will be drawn on this layer.
{Boolean} Calculate geodesic metrics instead of planar metrics.
{Boolean} Use geodesic measurement.
{Boolean} Use geodesic measurement.
Create a new parser for GeoJSON.
geolocate: function ( position )
Activates the control.
{Object} The geolocation engine, as a property to be possibly mocked.
{Object} Options to pass to the navigator’s geolocation API.
{ALKMaps.Geometry}
Return a GeoJSON object representing a single geometry.
Creates a geometry object.
geometryClone: function()
Return a clone of the relevant geometry.
{String} geometryType allows you to limit the types of geometries this layer supports.
geometryTypeMatches: function( feature )
Return true if the geometry type of the passed feature matches one of the geometry types in the geometryTypes array.
{Array(String)} To restrict dragging to a limited set of geometry types, send a list of strings corresponding to the geometry class names.
{Array(String)} To restrict dragging to a limited set of geometry types, send a list of strings corresponding to the geometry class names.
{Array(String)} To restrict modification to a limited set of geometry types, send a list of strings corresponding to the geometry class names.
{Array(String)} To restrict selecting to a limited set of geometry types, send a list of strings corresponding to the geometry class names.
{Array(String)} To restrict transformation to a limited set of geometry types, send a list of strings corresponding to the geometry class names.
To restrict dragging to a limited set of geometry types, send a list of strings corresponding to the geometry class names.
geomsToFeatures: function( feature,
geoms )
Create new features given a template feature and a list of geometries.
geoSearch: function( inputs )
This function is used to search country, state, and city places.
{Object} A cache of geo-tolerances.
getAlertFilters: function()
Gets alert filters.
getAlerts: function()
Gets alerts for the view-port.
Gets the user given API key from either the script query string or the ALKMaps property.
getArea: function( geometry,
units )
getArea: function()
Calculate the area of this geometry.
getArea: function()
Calculate the area of this geometry.
getArea: function()
getArea: function()
Calculated by subtracting the areas of the internal holes from the area of the outer hole.
getArea: function()
{Float} The area of the geometry
getAttributeNodeNS: function( node,
uri,
name )
Get an attribute node given the namespace URI and local name.
getAttributeNS: function( node,
uri,
name )
Get an attribute value given the namespace URI and local name.
services.getAttribution = function ( params )
Retrieves the necessary attribution for a given layer based on the layer’s type and its settings.
services.getAvoidFavorBox = function ( params )
Gets avoid/favor for a given set within a given bounding box.
services.getAvoidFavorGroup = function ( params )
Gets avoid/favor for a given set.
getAvoidFavorSets: function ( params )
Add avoid/favor features on the layer.
services.getAvoidFavorSets = function ( params )
Retrieves all AvoidFavorSets, one specific set if the setId is specified.
getBarLen: function( maxLen )
Given a number, round it down to the nearest 1,2,5 times a power of 10.
getBestArea: function( geometry )
Based on the displaySystem returns the area of a geometry.
getBestLength: function( geometry )
Based on the displaySystem returns the length of a geometry.
getBounds: function()
Get the bounds for this Geometry.
getBoxOffsets: function()
Determines border offsets for a box, according to the box model.
ALKMaps.Util.getBrowserName = function ()
{String} A string which specifies which is the current browser in which we are running.
getBy: function( array,
property,
match )
Get a list of objects given a property and a match item.
getCachedCenter: function()
{ALKMaps.LonLat}
getCameraMetadata: function( options )
Gets camera’s metadata.
getCameras: function( options )
Gets traffic cameras for the given bbox.
getCanvasContext: function()
Returns a canvas context associated with the tile image (with the image drawn on it).
getCategoryImage: function ( category )
Retrieve the default image for the given category;
getCenter: function ()
{ALKMaps.LonLat}
getCenterLonLat:function()
{ALKMaps.LonLat} The center of the bounds in map space.
getCenterPixel:function()
{ALKMaps.Pixel} The center of the bounds in pixel space.
getCentroid: function()
Calculate the centroid of this geometry.
getCentroid: function( weighted )
Compute the centroid for this geometry collection.
getCentroid: function()
{ALKMaps.Geometry.Point} The centroid of the collection
getCentroid: function()
{ALKMaps.Geometry.Point} The centroid of the collection
getChildEl: function( node,
name,
uri )
Get the first child element.
getChildValue: function( node,
def )
Get the textual value of the node if it exists, or return an optional default string.
getCode: function()
Get the string SRS code.
getColorMap: function()
Create the color map using the color gradient.
getComponentsString: function()
Get a string representing the components for this collection
getContentDivPadding: function()
Glorious, oh glorious hack in order to determine the css ‘padding’ of the contentDiv.
getContentDivPadding: function()
Glorious, oh glorious hack in order to determine the css ‘padding’ of the contentDiv.
getContext: function( feature )
Gets the context for evaluating this rule
getControl: function ( id )
getControlsBy: function( property,
match )
Get a list of controls with properties matching the given criteria.
getControlsBy: function( property,
match )
Get a list of controls with properties matching the given criteria.
getControlsByClass: function( match )
Get a list of controls of a given type (CLASS_NAME).
getControlsByClass: function( match )
Get a list of controls of a given class (CLASS_NAME).
getControlsByName: function( match )
Get a list of controls with names matching the given name.
getCurrentLocation: function()
{Boolean} Returns true if a event will be fired (successful registration)
getCurrentPointIndex: function()
{Number} The index of the most recently drawn point.
getCurrentPointIndex: function()
{Number} The index of the most recently drawn point.
getCurrentSize: function()
{ALKMaps.Size} A new ALKMaps.Size object with the dimensions of the map div
services.getCustomCategories = function ( inputs )
Get custom categories.
services.getCustomPlaces = function ( inputs )
Get custom places for a given account.
getDataExtent: function ()
Calculates the max extent which includes all of the data for the layer.
getDataExtent: function ()
Calculates the max extent which includes all of the markers.
getDataExtent: function ()
Calculates the max extent which includes all of the features.
ALKMaps.Util.getDataSet = function ( dataset )
Determines if the value of the dataset passed in is valid, and if not defaults to Current.
ALKMaps.Util.getDatasetFromRegion = function ( region )
Returns the dataset corresponding to the given region.
getDerivedRoutePath: function( inputs )
Take pings and route options, return derived route points.
services.getDerivedRoutePath = function ( params )
Take pings and route options, return derived route points.
getDistance: function( touches )
Get the distance in pixels between two touches.
getDragHandleFromNode: function( nd )
Gets drag handles from the node.
services.getDriveTimePolygon = function ( params )
Get a polygon of drivable locations from the center point within a specified time constraint.
ALKMaps.Util.getElement = function ()
This is the old $() from prototype
getElementsByTagNameNS: function( node,
uri,
name )
Get a list of elements on a node given the namespace URI and local name.
getEventInfo: function( evt )
This method allows us to store event information without storing the actual event.
getExtent: function()
{ALKMaps.Bounds} A Bounds object which represents the lon/lat bounds of the current viewPort.
getExtent: function ()
{ALKMaps.Bounds} A Bounds object which represents the lon/lat bounds of the current viewPort.
getFeatureArrows: function ( feature )
Searches for and returns the arrows object from the lookup array that corresponds to the given feature.
getFeatureBy: function( property,
value )
Given a property value, return the feature if it exists in the features array
getFeatureByFid: function( featureFid )
Given a feature fid, return the feature if it exists in the features array
getFeatureById: function( featureId )
Given a feature id, return the feature if it exists in the features array
getFeatureFromEvent: function( evt )
Given an event, return a feature if the event occurred over one.
getFeaturesByAttribute: function( attrName,
attrValue )
Returns an array of features that have the given attribute key set to the given value.
ALKMaps.Util.getFormattedLonLat = function ( coordinate,
axis,
dmsOption )
This function will return latitude or longitude value formatted as
getFullRequestString: function( newParams,
altUrl )
Combine the layer’s url with its params and these newParams.
getFullRequestString: function( newParams,
altUrl )
Combine the layer’s url with its params and these newParams.
getFullRequestString: function( newParams,
altUrl )
Combine the layer’s url with its params and these newParams.
getFullRequestString: function( newParams,
altUrl )
Combine the layer’s url with its params and these newParams.
getFullRequestString:function( newParams,
altUrl )
Combine the layer’s url with its params and these newParams.
getGeodesicArea: function( projection )
Calculate the approximate area of the polygon were it projected onto the earth.
getGeodesicArea: function( projection )
Calculate the approximate area of the polygon were it projected onto the earth.
getGeodesicArea: function( projection )
Calculate the approximate area of the polygon were it projected onto the earth.
getGeodesicLength: function( projection )
Calculate the approximate length of the geometry were it projected onto the earth.
getGeodesicLength: function( projection )
Calculate the approximate length of the geometry were it projected onto the earth.
getGeodesicPixelSize: function( px )
getGeometry: function()
Return the sketch geometry.
getGeometry: function()
Return the sketch geometry.
getGeometry: function()
Return the sketch geometry.
getGeometry: function( handle )
Gets drag handle geometry.
getGeoTolerance: function( tolerance,
resolution )
Calculate a tolerance in map units given a tolerance in pixels.
getHandleAction: function( hd )
Determines which drag handle has been dragged.
getHeight:function()
{Float} The height of the bounds (top minus bottom).
getHeight: function( element )
getImage: function()
Returns or creates and returns the tile image.
ALKMaps.Util.getImageLocation = function ( image )
{String} The fully formatted location string for a specified image
getImageSize: function( bounds )
{String} The fully formatted image location string
getIncidentImage: function( category )
Gets the image most closely relating to the type of traffic incident.
getLabelVisibility: function ()
Get label visibility
getLayer: function( id )
Get a layer based on its id
getLayerIndex: function ( layer )
getLayerPxFromLonLat: function ( lonlat )
getLayerPxFromViewPortPx:function( viewPortPx )
getLayersBy: function( property,
match )
Get a list of layers with properties matching the given criteria.
getLayersByClass: function( match )
Get a list of layers of a given class (CLASS_NAME).
getLayersByName: function( match )
Get a list of layers with names matching the given name.
getLength: function( geometry,
units )
getLength: function()
Calculate the length of this geometry.
getLength: function()
Calculate the length of this geometry
getLength: function()
{Float} The length of the curve
getLength: function()
{Float} The length of the geometry
getLonLatFromLayerPx: function ( px )
getLonLatFromOverviewPx: function( overviewMapPx )
Get a map location from a pixel location
getLonLatFromPixel: function ( px )
getLonLatFromViewPortPx: function ( viewPortPx )
getLonLatFromViewPortPx: function ( viewPortPx )
getMapBounds: function()
Get the map bounds expressed in the same projection as this layer.
getMapBoundsFromRectBounds: function( pxBounds )
Get the map bounds from the rect bounds.
getMaxExtent: function()
Get this layer’s maximum extent.
getMaxExtent: function ( options )
getMaxResolution: function()
{String} The Map’s Maximum Resolution
getMousePosition: function ( evt )
getNewAlerts: function()
Call this method to decide whether to get new alerts or not.
getNextEl: function( node,
name,
uri )
Get the next sibling element.
getNextHandle: function( hd )
Gets drag handle before this one.
getNodes: function( hd )
Gets nodes that are connected to the drag handle.
getNumLayers: function ()
{Int} The number of layers attached to the map.
getNumZoomLevels: function()
{Integer} The total number of zoom levels that can be displayed by the current baseLayer.
getOptions: function()
Extracts an object from the layer with the properties that were set as options, but updates them with the values currently set on the instance.
getOrCreateLinks: function( el )
getOrigin: function()
Get the grid origin property.
getOverviewPxFromLonLat: function( lonlat )
Get a pixel location from a map location
getParameters: function( url )
ALKMaps.Util.getParameters = function ( url )
Parse the parameters from a URL or from the current page itself into a JavaScript Object.
ALKMaps.Util.getParameterString = function ( params )
getPinchData: function( evt )
Get informations about the pinch event.
getPixelFromLonLat: function ( lonlat )
Returns a pixel location given a map location.
getPoisBy: function ( attribute,
value )
Retrieve list of POIs by attribute value.
getPressedButton: function( element )
Get the pressed button, if any.
getPreviousHandle: function( hd )
Gets drag handle after this one.
getProjection: function()
This method returns a string representing the projection.
getProjectionObject: function()
Returns the projection obect from the baselayer.
getRadius: function()
Gets circle radius in map units.
services.getRailStations = function ( params )
Takes SPLC code and returns first matched station if there is one.
getRectBoundsFromMapBounds: function( lonLatBounds )
Get the rect bounds from the map bounds.
ALKMaps.Util.getRegion = function ( region )
Determines the correct region number for the corresponding enumeration string, and defaults to NA(4).
ALKMaps.Util.getRenderedDimensions = function ( contentHTML,
size,
options )
Renders the contentHTML offscreen to determine actual dimensions for popup sizing.
getReports: function ( inputs )
Takes coords objects and report options, return total time and total distance synchronously.
services.getReports = function ( params )
Takes coords objects and report options, return total time and total distance synchronously.
getResolution: function()
{Float} The currently selected resolution of the map, taken from the resolutions array, indexed by current zoom level.
getResolution: function ()
{Float} The current resolution of the map.
getResolutionForZoom: function( zoom )
getResolutionForZoom: function( zoom )
ALKMaps.Util.getResolutionFromScale = function ( scale,
units )
getResolutionScale: function()
Return the value by which the layer is currently scaled.
services.getRoadSurfaceRoute = function ( inputs )
Allows a user to request road surface conditions for each point of a route path.
getRouteElements: function( routeId )
Gets the ALKMaps vector elements for the route stops and segments drawn on the layer.
getRouteLegPoints: function( args,
isRail,
removeExistingFeatures )
Draw route with stops on this layer.
getRouteOptions: function( routeIndex )
Gets all the parameters that are set when the route is added.
getRoutePath: function ( inputs )
Takes coords objects and route options, return lat/lons for the route path.
services.getRoutePath = function ( params )
Takes coords objects and route options, return lat/lons for the route path.
getSafeContentSize: function( size )
getSafeContentSize: function( size )
getScale: function ()
{Float} The current scale denominator of the map.
ALKMaps.Util.getScaleFromResolution = function ( resolution,
units )
ALKMaps.Util.getScriptSrc = function ( fileName )
Gets the source path from the HTML script tag of the given file.
ALKMaps.Util.getScrollbarWidth = function ()
This function has been modified by the ALKMaps from the original version, written by Matthew Eernisse and released under the Apache 2 license here:
getServerResolution: function( resolution )
Return the closest highest server-supported resolution.
getServerZoom: function()
Return the zoom value corresponding to the best matching server resolution, taking into account serverResolutions and zoomOffset.
getSites: function( options )
Gets sites for the given bbox.
services.getSitesBox = function ( params )
Gets ALK sites
getSize:function()
{ALKMaps.Size} The size of the box.
getSize: function ()
{ALKMaps.Size} An ALKMaps.Size object that represents the size, in pixels, of the div into which ALKMaps has been loaded.
getSketch: function()
Return the sketch feature.
getSketch: function()
Return the sketch feature.
getSlideFactor: function( dim )
getSortedSegments: function()
{Array} An array of segment objects.
getState: function()
Get the current state and return it.
getStyle: function( element,
style )
getStyle: function( styleUrl,
options )
Retrieves a style from a style hash using styleUrl as the key If the styleUrl doesn’t exist yet, we try to fetch it Internet
getSymbolizerPrefix: function( geometry )
Returns the correct symbolizer prefix according to the geometry type of the passed geometry
getThisOrNextEl: function( node,
name,
uri )
Return this node or the next element node.
getTile: function()
Get the tile’s markup.
getTileBounds: function( viewPortPx )
Returns The tile bounds for a layer given a pixel location.
getTileData: function( loc )
Given a map location, retrieve a tile and the pixel offset within that tile corresponding to the location.
getTileOrigin: function()
Determine the origin for aligning the grid of tiles.
getTilesBounds: function()
Return the bounds of the tile grid.
getTileSize: function()
Get the tile size for the map
getTileXYZ: function( bounds )
Calculates x, y and z for the given bounds.
getTouchDistance: function( from,
to )
{Boolean} The pixel displacement between two touches.
services.getTrafficCameraMetadata = function ( params )
Retrieves traffic camera metadata for the given camera id.
services.getTrafficCamerasBox = function ( params )
Retrieves traffic cameras within the given bounding box
getTrafficIncidents: function( options )
Gets traffic incidents for the given bbox.
services.getTrafficIncidentsBox = function ( params )
Retrieves traffic incidents within the given bounding box
services.getTruckRestrictions = function ( params )
Gets truck restrictions for a given bounding box.
getUnits: function ()
{Float} The current units of the map.
getUnits: function()
Get the units string for the projection -- returns null if proj4js is not available.
getUrl: function( options )
Gets traffic camera image URL.
getUrl: function()
Get request URL for weather overlay image
getURL: function( bounds )
Return a query string for this layer
getURL: function( bounds )
Return a GetMap query string for this layer
getURL: function( bounds )
The url we return is always the same (the image itself never changes) so we can ignore the bounds parameter (it will always be the same, anyways)
getURL: function( bounds )
Return a query string for this layer.
getURL: function( bounds )
Return a query string for this layer
getURL: function ( bounds )
This method is different from the base class in the way that XTILE, YTILE indexes and ZOOM level are added to the request URL.
getURL: function ( bounds )
This method is different from the base class in the way that bounding box is in degrees always.
getURL: function ( bounds )
getURL: function ( bounds )
Return a GetMap query string for this layer
getURL: function ( bounds )
getVertices: function( nodes )
Return a list of all points in this geometry.
getVertices: function( nodes )
Return a list of all points in this geometry.
getVertices: function( nodes )
Return a list of all points in this geometry.
getVertices: function( nodes )
Return a list of all points in this geometry.
getVertices: function( nodes )
Return a list of all points in this geometry.
getViewBounds: function()
Gets the (potentially rotated) view bounds for grid calculations.
getViewport: function()
Get the DOMElement representing the view port.
getViewPortDataExtent: function ()
Calculates the max extent which includes all of the markers on the viewport.
Returns die viewport element of the document.
getViewPortPxFromLayerPx:function( layerPx )
getViewPortPxFromLonLat: function ( lonlat,
resolution )
Returns a pixel location given a map location.
getViewPortPxFromLonLat: function ( lonlat )
getVisibility: function()
Determine whether the feature is displayed or not.
getVisibility: function()
{Boolean} The layer should be displayed (if in range).
getWidth:function()
{Float} The width of the bounds
getXMLDoc: function()
Get an XML document for nodes that are not supported in HTML (e.g.
ALKMaps.Util.getXmlNodeValue = function ( node )
Calculates x, y and z for the given bounds.
Calculates x, y and z for the given bounds.
Calculates x, y and z for the given bounds.
getXYZ: function( bounds )
Calculates x, y and z for the given bounds.
getXYZ: function( bounds )
Calculates x, y and z for the given bounds.
ALKMaps.Util.getYear = function ()
Gets the current year.
getZIndex: function ()
{Integer} the z-index of this layer
getZoom: function ()
{Integer}
getZoomForExtent: function( extent,
closest )
getZoomForExtent: function ( bounds,
closest )
getZoomForResolution: function( resolution,
closest )
getZoomForResolution: function( resolution,
closest )
{Integer}
{Number} Pixel height for sizing an external graphic.
{String} Named graphic to use when rendering points.
{Number} Opacity (0-1) for an external graphic.
{Number} Pixel width for sizing an external graphic.
{Number} Pixel offset along the positive x axis for displacing an external graphic.
{Number} Pixel offset along the positive y axis for displacing an external graphic.
Create a new graticule control to display a grid of latitude longitude lines.
{ALKMaps.Layer.Vector} vector layer used to draw the graticule on
{Boolean} Snap to closest feature in first layer with an eligible feature.
{Array(Array(ALKMaps.Tile))} This is an array of rows, each row is an array of tiles.
Create a new grid layer
{ALKMaps.Bounds} Internally cached grid bounds (with optional rotation applied).
{Number} The resolution of the current grid.
{DOMElement} First and only child of ‘div’.
{DOMElement} First and only child of ‘div’.
{Integer} Determines the width (in pixels) of the gutter around image tiles to ignore.
Close