G | |
geocode | |
geolocate, ALKMaps. | |
geometry, ALKMaps. | |
geometryClone, ALKMaps. | |
geometryTypeMatches, ALKMaps. | |
geomsToFeatures, ALKMaps. | |
geoSearch, ALKMaps.Map | |
getAlertFilters, ALKMaps. | |
getAlerts, ALKMaps. | |
getAPIKey, Util | |
getArea | |
getAttributeNodeNS, ALKMaps. | |
getAttributeNS, ALKMaps. | |
getAttribution, ALKMaps. | |
getAvoidFavorBox, ALKMaps. | |
getAvoidFavorGroup, ALKMaps. | |
getAvoidFavorSets | |
getBarLen, ALKMaps. | |
getBestArea, ALKMaps. | |
getBestLength, ALKMaps. | |
getBounds, ALKMaps. | |
getBoxOffsets, ALKMaps. | |
getBrowserName, Util | |
getBy, ALKMaps.Map | |
getCachedCenter, ALKMaps.Map | |
getCameraMetadata, ALKMaps. | |
getCameras, ALKMaps. | |
getCanvasContext, ALKMaps. | |
getCategoryImage, ALKMaps. | |
getCenter, ALKMaps.Map | |
getCenterLonLat, ALKMaps. | |
getCenterPixel, ALKMaps. | |
getCentroid | |
getChildEl, ALKMaps. | |
getChildValue, ALKMaps. | |
getCode, ALKMaps. | |
getColorMap, ALKMaps. | |
getComponentsString, ALKMaps. | |
getContentDivPadding | |
getContext, ALKMaps.Rule | |
getControl, ALKMaps.Map | |
getControlsBy | |
getControlsByClass | |
getControlsByName, ALKMaps. | |
getCurrentLocation, ALKMaps. | |
getCurrentPointIndex | |
getCurrentSize, ALKMaps.Map | |
getCustomCategories, ALKMaps. | |
getCustomPlaces, ALKMaps. | |
getDataExtent | |
getDataSet, Util | |
getDatasetFromRegion, Util | |
getDerivedRoutePath | |
getDistance, ALKMaps. | |
getDragHandleFromNode, ALKMaps. | |
getDriveTimePolygon, ALKMaps. | |
getElement, Util | |
getElementsByTagNameNS, ALKMaps. | |
getEventInfo, ALKMaps. | |
getExtent | |
getFeatureArrows, ALKMaps. | |
getFeatureBy, ALKMaps. | |
getFeatureByFid, ALKMaps. | |
getFeatureById, ALKMaps. | |
getFeatureFromEvent, ALKMaps. | |
getFeaturesByAttribute, ALKMaps. | |
getFormattedLonLat, Util | |
getFullRequestString | |
getGeodesicArea | |
getGeodesicLength | |
getGeodesicPixelSize, ALKMaps.Map | |
getGeometry | |
getGeoTolerance, ALKMaps. | |
getHandleAction, ALKMaps. | |
getHeight | |
getImage, ALKMaps. | |
getImageLocation, Util | |
getImageSize, ALKMaps. | |
getImagesLocation, Util | |
getIncidentImage, ALKMaps. | |
getLabelVisibility, ALKMaps. | |
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. | |
getLonLatFromPixel, ALKMaps.Map | |
getLonLatFromViewPortPx | |
getMapBounds, ALKMaps. | |
getMapBoundsFromRectBounds, ALKMaps. | |
getMaxExtent | |
getMaxResolution, ALKMaps.Map | |
getMousePosition, ALKMaps. | |
getNewAlerts, ALKMaps. | |
getNextEl, ALKMaps. | |
getNextHandle, ALKMaps. | |
getNodes, ALKMaps. | |
getNumLayers, ALKMaps.Map | |
getNumZoomLevels, ALKMaps.Map | |
getOptions, ALKMaps. | |
getOrCreateLinks, ALKMaps. | |
getOrigin, ALKMaps. | |
getOverviewPxFromLonLat, ALKMaps. | |
getParameters | |
getParameterString, Util | |
getPinchData, ALKMaps. | |
getPixelFromLonLat, ALKMaps.Map | |
getPoisBy, ALKMaps. | |
getPressedButton, ALKMaps. | |
getPreviousHandle, ALKMaps. | |
getProjection, ALKMaps.Map | |
getProjectionObject, ALKMaps.Map | |
getRadius, ALKMaps. | |
getRailStations, ALKMaps. | |
getRectBoundsFromMapBounds, ALKMaps. | |
getRegion, Util | |
getRenderedDimensions, Util | |
getReports | |
getResolution | |
getResolutionForZoom | |
getResolutionFromScale, Util | |
getResolutionScale, ALKMaps. | |
getRoadSurfaceRoute, ALKMaps. | |
getRouteElements, ALKMaps. | |
getRouteLegPoints, ALKMaps. | |
getRouteOptions, ALKMaps. | |
getRoutePath | |
getSafeContentSize | |
getScale, ALKMaps.Map | |
getScaleFromResolution, Util | |
getScriptSrc, Util | |
getScrollbarWidth, Util | |
getServerResolution, ALKMaps. | |
getServerZoom, ALKMaps. | |
getSites, ALKMaps. | |
getSitesBox, ALKMaps. | |
getSize | |
getSketch | |
getSlideFactor, ALKMaps. | |
getSortedSegments, ALKMaps. | |
getState, ALKMaps. | |
getStyle | |
getSymbolizerPrefix, ALKMaps. | |
getThisOrNextEl, ALKMaps. | |
getTile, ALKMaps. | |
getTileBounds, ALKMaps. | |
getTileData, ALKMaps. | |
getTileOrigin, ALKMaps. | |
getTilesBounds, ALKMaps. | |
getTileSize, ALKMaps.Map | |
getTileXYZ, ALKMaps. | |
getTouchDistance, ALKMaps. | |
getTrafficCameraMetadata, ALKMaps. | |
getTrafficCamerasBox, ALKMaps. | |
getTrafficIncidents, ALKMaps. | |
getTrafficIncidentsBox, ALKMaps. | |
getTruckRestrictions, ALKMaps. | |
getUnits | |
getUrl | |
getURL | |
getVertices | |
getViewBounds, ALKMaps. | |
getViewport, ALKMaps.Map | |
getViewPortDataExtent, ALKMaps. | |
getViewportElement, Util | |
getViewPortPxFromLayerPx, ALKMaps.Map | |
getViewPortPxFromLonLat | |
getVisibility | |
getWidth, ALKMaps. | |
getXMLDoc, ALKMaps. | |
getXmlNodeValue, Util | |
getXYZ | |
getYear, Util | |
getZIndex, ALKMaps. | |
getZoom, ALKMaps.Map | |
getZoomForExtent | |
getZoomForResolution |
This function takes address object, returns address arrays with longitudes and latitudes.
ALKMaps.Geocoder.geocode = function ( inputs )
This function takes address object, returns address arrays with longitudes and latitudes.
geocode: function ( inputs )
Activates the control.
geolocate: function ( position )
Return a clone of the relevant geometry.
geometryClone: function()
Return true if the geometry type of the passed feature matches one of the geometry types in the geometryTypes array.
geometryTypeMatches: function( feature )
Create new features given a template feature and a list of geometries.
geomsToFeatures: function( feature, geoms )
This function is used to search country, state, and city places.
geoSearch: function( inputs )
Gets alert filters.
getAlertFilters: function()
Gets alerts for the view-port.
getAlerts: function()
getArea: function( geometry, units )
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
getArea: function()
Get an attribute node given the namespace URI and local name.
getAttributeNodeNS: function( node, uri, name )
Get an attribute value given the namespace URI and local name.
getAttributeNS: function( node, uri, name )
Retrieves the necessary attribution for a given layer based on the layer’s type and its settings.
services.getAttribution = function ( params )
Gets avoid/favor for a given set within a given bounding box.
services.getAvoidFavorBox = function ( params )
Gets avoid/favor for a given set.
services.getAvoidFavorGroup = function ( params )
Add avoid/favor features on the layer.
getAvoidFavorSets: function ( params )
Retrieves all AvoidFavorSets, one specific set if the setId is specified.
services.getAvoidFavorSets = function ( params )
Given a number, round it down to the nearest 1,2,5 times a power of 10.
getBarLen: function( maxLen )
Based on the displaySystem returns the area of a geometry.
getBestArea: function( geometry )
Based on the displaySystem returns the length of a geometry.
getBestLength: function( geometry )
Get the bounds for this Geometry.
getBounds: function()
Determines border offsets for a box, according to the box model.
getBoxOffsets: function()
{String} A string which specifies which is the current browser in which we are running.
ALKMaps.Util.getBrowserName = function ()
Get a list of objects given a property and a match item.
getBy: function( array, property, match )
{ALKMaps.LonLat}
getCachedCenter: function()
Gets camera’s metadata.
getCameraMetadata: function( options )
Gets traffic cameras for the given bbox.
getCameras: function( options )
Returns a canvas context associated with the tile image (with the image drawn on it).
getCanvasContext: function()
Retrieve the default image for the given category;
getCategoryImage: function ( category )
{ALKMaps.LonLat}
getCenter: function ()
{ALKMaps.LonLat} The center of the bounds in map space.
getCenterLonLat:function()
{ALKMaps.Pixel} The center of the bounds in pixel space.
getCenterPixel:function()
Calculate the centroid of this geometry.
getCentroid: function()
Compute the centroid for this geometry collection.
getCentroid: function( weighted )
{ALKMaps.Geometry.Point} The centroid of the collection
getCentroid: function()
{ALKMaps.Geometry.Point} The centroid of the collection
getCentroid: function()
Get the first child element.
getChildEl: function( node, name, uri )
Get the textual value of the node if it exists, or return an optional default string.
getChildValue: function( node, def )
Get the string SRS code.
getCode: function()
Create the color map using the color gradient.
getColorMap: function()
Get a string representing the components for this collection
getComponentsString: 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.
getContentDivPadding: function()
Gets the context for evaluating this rule
getContext: function( feature )
getControl: function ( id )
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.
getControlsBy: function( property, 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).
getControlsByClass: function( match )
Get a list of controls with names matching the given name.
getControlsByName: function( match )
{Boolean} Returns true if a event will be fired (successful registration)
getCurrentLocation: function()
{Number} The index of the most recently drawn point.
getCurrentPointIndex: function()
{Number} The index of the most recently drawn point.
getCurrentPointIndex: function()
{ALKMaps.Size} A new ALKMaps.Size object with the dimensions of the map div
getCurrentSize: function()
Get custom categories.
services.getCustomCategories = function ( inputs )
Get custom places for a given account.
services.getCustomPlaces = function ( inputs )
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.
getDataExtent: function ()
Determines if the value of the dataset passed in is valid, and if not defaults to Current.
ALKMaps.Util.getDataSet = function ( dataset )
Returns the dataset corresponding to the given region.
ALKMaps.Util.getDatasetFromRegion = function ( region )
Take pings and route options, return derived route points.
getDerivedRoutePath: function( inputs )
Take pings and route options, return derived route points.
services.getDerivedRoutePath = function ( params )
Get the distance in pixels between two touches.
getDistance: function( touches )
Gets drag handles from the node.
getDragHandleFromNode: function( nd )
Get a polygon of drivable locations from the center point within a specified time constraint.
services.getDriveTimePolygon = function ( params )
This is the old $() from prototype
ALKMaps.Util.getElement = function ()
Get a list of elements on a node given the namespace URI and local name.
getElementsByTagNameNS: function( node, uri, name )
This method allows us to store event information without storing the actual event.
getEventInfo: function( evt )
{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.
getExtent: function ()
Searches for and returns the arrows object from the lookup array that corresponds to the given feature.
getFeatureArrows: function ( feature )
Given a property value, return the feature if it exists in the features array
getFeatureBy: function( property, value )
Given a feature fid, return the feature if it exists in the features array
getFeatureByFid: function( featureFid )
Given a feature id, return the feature if it exists in the features array
getFeatureById: function( featureId )
Given an event, return a feature if the event occurred over one.
getFeatureFromEvent: function( evt )
Returns an array of features that have the given attribute key set to the given value.
getFeaturesByAttribute: function( attrName, attrValue )
This function will return latitude or longitude value formatted as
ALKMaps.Util.getFormattedLonLat = function ( coordinate, axis, dmsOption )
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.
getFullRequestString:function( newParams, altUrl )
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.
getGeodesicArea: 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.
getGeodesicLength: function( projection )
getGeodesicPixelSize: function( px )
Return the sketch geometry.
getGeometry: function()
Return the sketch geometry.
getGeometry: function()
Return the sketch geometry.
getGeometry: function()
Gets drag handle geometry.
getGeometry: function( handle )
Calculate a tolerance in map units given a tolerance in pixels.
getGeoTolerance: function( tolerance, resolution )
Determines which drag handle has been dragged.
getHandleAction: function( hd )
{Float} The height of the bounds (top minus bottom).
getHeight:function()
getHeight: function( element )
Returns or creates and returns the tile image.
getImage: function()
{String} The fully formatted location string for a specified image
ALKMaps.Util.getImageLocation = function ( image )
getImageSize: function( bounds )
Gets the image most closely relating to the type of traffic incident.
getIncidentImage: function( category )
Get label visibility
getLabelVisibility: function ()
Get a layer based on its id
getLayer: function( id )
getLayerIndex: function ( layer )
getLayerPxFromLonLat: function ( lonlat )
getLayerPxFromViewPortPx:function( viewPortPx )
Get a list of layers with properties matching the given criteria.
getLayersBy: function( property, match )
Get a list of layers of a given class (CLASS_NAME).
getLayersByClass: function( match )
Get a list of layers with names matching the given name.
getLayersByName: function( match )
getLength: function( geometry, units )
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
getLength: function()
getLonLatFromLayerPx: function ( px )
Get a map location from a pixel location
getLonLatFromOverviewPx: function( overviewMapPx )
getLonLatFromPixel: function ( px )
getLonLatFromViewPortPx: function ( viewPortPx )
getLonLatFromViewPortPx: function ( viewPortPx )
Get the map bounds expressed in the same projection as this layer.
getMapBounds: function()
Get the map bounds from the rect bounds.
getMapBoundsFromRectBounds: function( pxBounds )
Get this layer’s maximum extent.
getMaxExtent: function()
getMaxExtent: function ( options )
{String} The Map’s Maximum Resolution
getMaxResolution: function()
getMousePosition: function ( evt )
Call this method to decide whether to get new alerts or not.
getNewAlerts: function()
Get the next sibling element.
getNextEl: function( node, name, uri )
Gets drag handle before this one.
getNextHandle: function( hd )
Gets nodes that are connected to the drag handle.
getNodes: function( hd )
{Int} The number of layers attached to the map.
getNumLayers: function ()
{Integer} The total number of zoom levels that can be displayed by the current baseLayer.
getNumZoomLevels: 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.
getOptions: function()
getOrCreateLinks: function( el )
Get the grid origin property.
getOrigin: function()
Get a pixel location from a map location
getOverviewPxFromLonLat: function( lonlat )
getParameters: function( url )
Parse the parameters from a URL or from the current page itself into a JavaScript Object.
ALKMaps.Util.getParameters = function ( url )
ALKMaps.Util.getParameterString = function ( params )
Get informations about the pinch event.
getPinchData: function( evt )
Returns a pixel location given a map location.
getPixelFromLonLat: function ( lonlat )
Retrieve list of POIs by attribute value.
getPoisBy: function ( attribute, value )
Get the pressed button, if any.
getPressedButton: function( element )
Gets drag handle after this one.
getPreviousHandle: function( hd )
This method returns a string representing the projection.
getProjection: function()
Returns the projection obect from the baselayer.
getProjectionObject: function()
Gets circle radius in map units.
getRadius: function()
Takes SPLC code and returns first matched station if there is one.
services.getRailStations = function ( params )
Get the rect bounds from the map bounds.
getRectBoundsFromMapBounds: function( lonLatBounds )
Determines the correct region number for the corresponding enumeration string, and defaults to NA(4).
ALKMaps.Util.getRegion = function ( region )
Renders the contentHTML offscreen to determine actual dimensions for popup sizing.
ALKMaps.Util.getRenderedDimensions = function ( contentHTML, size, options )
Takes coords objects and report options, return total time and total distance synchronously.
getReports: function ( inputs )
Takes coords objects and report options, return total time and total distance synchronously.
services.getReports = function ( params )
{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.
getResolution: function ()
getResolutionForZoom: function( zoom )
getResolutionForZoom: function( zoom )
ALKMaps.Util.getResolutionFromScale = function ( scale, units )
Return the value by which the layer is currently scaled.
getResolutionScale: function()
Allows a user to request road surface conditions for each point of a route path.
services.getRoadSurfaceRoute = function ( inputs )
Gets the ALKMaps vector elements for the route stops and segments drawn on the layer.
getRouteElements: function( routeId )
Draw route with stops on this layer.
getRouteLegPoints: function( args, isRail, removeExistingFeatures )
Gets all the parameters that are set when the route is added.
getRouteOptions: function( routeIndex )
Takes coords objects and route options, return lat/lons for the route path.
getRoutePath: function ( inputs )
Takes coords objects and route options, return lat/lons for the route path.
services.getRoutePath = function ( params )
getSafeContentSize: function( size )
getSafeContentSize: function( size )
{Float} The current scale denominator of the map.
getScale: function ()
ALKMaps.Util.getScaleFromResolution = function ( resolution, units )
Gets the source path from the HTML script tag of the given file.
ALKMaps.Util.getScriptSrc = function ( fileName )
This function has been modified by the ALKMaps from the original version, written by Matthew Eernisse and released under the Apache 2 license here:
ALKMaps.Util.getScrollbarWidth = function ()
Return the closest highest server-supported resolution.
getServerResolution: function( resolution )
Return the zoom value corresponding to the best matching server resolution, taking into account serverResolutions and zoomOffset.
getServerZoom: function()
Gets sites for the given bbox.
getSites: function( options )
Gets ALK sites
services.getSitesBox = function ( params )
{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.
getSize: function ()
Return the sketch feature.
getSketch: function()
Return the sketch feature.
getSketch: function()
getSlideFactor: function( dim )
{Array} An array of segment objects.
getSortedSegments: function()
Get the current state and return it.
getState: function()
getStyle: function( element, style )
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
getStyle: function( styleUrl, options )
Returns the correct symbolizer prefix according to the geometry type of the passed geometry
getSymbolizerPrefix: function( geometry )
Return this node or the next element node.
getThisOrNextEl: function( node, name, uri )
Get the tile’s markup.
getTile: function()
Returns The tile bounds for a layer given a pixel location.
getTileBounds: function( viewPortPx )
Given a map location, retrieve a tile and the pixel offset within that tile corresponding to the location.
getTileData: function( loc )
Determine the origin for aligning the grid of tiles.
getTileOrigin: function()
Return the bounds of the tile grid.
getTilesBounds: function()
Get the tile size for the map
getTileSize: function()
Calculates x, y and z for the given bounds.
getTileXYZ: function( bounds )
{Boolean} The pixel displacement between two touches.
getTouchDistance: function( from, to )
Retrieves traffic camera metadata for the given camera id.
services.getTrafficCameraMetadata = function ( params )
Retrieves traffic cameras within the given bounding box
services.getTrafficCamerasBox = function ( params )
Gets traffic incidents for the given bbox.
getTrafficIncidents: function( options )
Retrieves traffic incidents within the given bounding box
services.getTrafficIncidentsBox = function ( params )
Gets truck restrictions for a given bounding box.
services.getTruckRestrictions = function ( params )
{Float} The current units of the map.
getUnits: function ()
Get the units string for the projection -- returns null if proj4js is not available.
getUnits: function()
Gets traffic camera image URL.
getUrl: function( options )
Get request URL for weather overlay image
getUrl: function()
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 )
getURL: function ( bounds )
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.
getVertices: function( nodes )
Gets the (potentially rotated) view bounds for grid calculations.
getViewBounds: function()
Get the DOMElement representing the view port.
getViewport: function()
Calculates the max extent which includes all of the markers on the viewport.
getViewPortDataExtent: function ()
getViewPortPxFromLayerPx:function( layerPx )
Returns a pixel location given a map location.
getViewPortPxFromLonLat: function ( lonlat, resolution )
getViewPortPxFromLonLat: function ( lonlat )
Determine whether the feature is displayed or not.
getVisibility: function()
{Boolean} The layer should be displayed (if in range).
getVisibility: function()
{Float} The width of the bounds
getWidth:function()
Get an XML document for nodes that are not supported in HTML (e.g.
getXMLDoc: function()
ALKMaps.Util.getXmlNodeValue = function ( node )
Calculates x, y and z for the given bounds.
getXYZ: function( bounds )
Calculates x, y and z for the given bounds.
getXYZ: function( bounds )
Gets the current year.
ALKMaps.Util.getYear = function ()
{Integer} the z-index of this layer
getZIndex: function ()
{Integer}
getZoom: function ()
getZoomForExtent: function( extent, closest )
getZoomForExtent: function ( bounds, closest )
getZoomForResolution: function( resolution, closest )
getZoomForResolution: function( resolution, closest )