G | |
geocode, ALKMaps. | |
geodesic | |
GeoJSON, ALKMaps. | |
geolocate, ALKMaps. | |
geolocation, ALKMaps. | |
geolocationOptions, ALKMaps. | |
geometry | |
Geometry, ALKMaps. | |
geometryClone, ALKMaps. | |
geometryType, ALKMaps. | |
geometryTypeMatches, ALKMaps. | |
geometryTypes | |
geomsToFeatures, ALKMaps. | |
geons, ALKMaps. | |
GeoRSS | |
georssns, ALKMaps. | |
geoToleranceCache, ALKMaps. | |
GET, ALKMaps. | |
getArea | |
getAttributeNodeNS, ALKMaps. | |
getAttributeNS, ALKMaps. | |
getAvoidFavorSets, ALKMaps. | |
getBarLen, ALKMaps. | |
getBestArea, ALKMaps. | |
getBestLength, ALKMaps. | |
getBounds, ALKMaps. | |
getBoxOffsets, ALKMaps. | |
getBrowserName, Util | |
getBy, ALKMaps.Map | |
getCachedCenter, ALKMaps.Map | |
getCanvasContext, ALKMaps. | |
getCenter, ALKMaps.Map | |
getCenterLonLat, ALKMaps. | |
getCenterPixel, ALKMaps. | |
getCentroid | |
getChildEl, ALKMaps. | |
getChildValue, ALKMaps. | |
getCode | |
getComponentsString, ALKMaps. | |
getComponentString | |
getContentDivPadding, ALKMaps. | |
getContext, ALKMaps.Rule | |
getControl, ALKMaps.Map | |
getControlsBy | |
getControlsByClass | |
getControlsByName, ALKMaps. | |
getCurrentLocation, ALKMaps. | |
getCurrentPointIndex | |
getCurrentSize, ALKMaps.Map | |
getCustomCategories, ALKMaps. | |
getCustomPlace, ALKMaps. | |
getDataExtent | |
getDistance, ALKMaps. | |
getDragHandleFromNode, ALKMaps. | |
getElement, Util | |
getElementsByTagNameNS | |
getEventInfo, ALKMaps. | |
getExtent | |
GetFeature, ALKMaps. | |
getFeatureBy, ALKMaps. | |
getFeatureByFid, ALKMaps. | |
getFeatureById, ALKMaps. | |
getFeatureFromEvent | |
getFeatureIdFromEvent | |
getFeaturesByAttribute, ALKMaps. | |
getFormattedLonLat, Util | |
getFullRequestString | |
getGeodesicArea | |
getGeodesicLength | |
getGeodesicPixelSize, ALKMaps.Map | |
getGeometry | |
getGeoTolerance, ALKMaps. | |
getHandleAction, ALKMaps. | |
getHeader | |
getHeight | |
getImage, ALKMaps. | |
getImageLocation, Util | |
getImageSize | |
getImagesLocation, Util | |
getLabelVisibility, ALKMaps. | |
getLayer, ALKMaps.Map | |
getLayerFromContext, ALKMaps. | |
getLayerIndex, ALKMaps.Map | |
getLayerPxFromLonLat, ALKMaps.Map | |
getLayerPxFromViewPortPx, ALKMaps.Map | |
getLayersBy, ALKMaps.Map | |
getLayersByClass, ALKMaps.Map | |
getLayersByName, ALKMaps.Map | |
getLayersFromContext, ALKMaps. | |
getLength | |
getLocalXY, ALKMaps. | |
getLonLatFromLayerPx, ALKMaps.Map | |
getLonLatFromOverviewPx, ALKMaps. | |
getLonLatFromPixel, ALKMaps.Map | |
getLonLatFromViewPortPx | |
getMapBounds, ALKMaps. | |
getMapBoundsFromRectBounds, ALKMaps. | |
getMapObjectZoomFromOLZoom, ALKMaps. | |
getMaxExtent | |
getMaxResolution, ALKMaps.Map | |
getMousePosition, ALKMaps. | |
getNextEl, ALKMaps. | |
getNextElement, ALKMaps. | |
getNextHandle, ALKMaps. | |
getNodes, ALKMaps. | |
getNodeType | |
getNumLayers, ALKMaps.Map | |
getNumZoomLevels, ALKMaps.Map | |
getOLZoomFromMapObjectZoom, ALKMaps. | |
getOptions, ALKMaps. | |
getOrCreateLinks, ALKMaps. | |
getOrigin, ALKMaps. | |
getOverviewPxFromLonLat, ALKMaps. | |
getParameters | |
getParameterString, Util | |
getParser, ALKMaps. | |
getPinchData, ALKMaps. | |
getPixelFromLonLat, ALKMaps.Map | |
getPosition, ALKMaps. | |
getPressedButton, ALKMaps. | |
getPreviousHandle, ALKMaps. | |
getProjection, ALKMaps.Map | |
getProjectionObject, ALKMaps.Map | |
getRectBoundsFromMapBounds, ALKMaps. | |
getRenderedDimensions, Util | |
getRenderLayerId | |
getReports, ALKMaps. | |
getResolution | |
getResolutionForZoom | |
getResolutionFromScale, Util | |
getResolutionScale, ALKMaps. | |
getResponseHeader, ALKMaps. | |
getRouteElements, ALKMaps. | |
getRouteLegPoints, ALKMaps. | |
getRouteOptions, ALKMaps. | |
getRoutePath, ALKMaps. | |
getSafeContentSize, ALKMaps. | |
getScale, ALKMaps.Map | |
getScaleFromResolution, Util | |
getScrollbarWidth, Util | |
getServerResolution, ALKMaps. | |
getServerZoom, ALKMaps. | |
getShortString | |
getSize | |
getSketch | |
getSlideFactor, ALKMaps. | |
getSortedSegments, ALKMaps. | |
getState, ALKMaps. | |
getStatus | |
getStatustext, ALKMaps. | |
getStops, ALKMaps. | |
getStyle | |
getSymbolizerPrefix, ALKMaps. | |
getThisOrNextEl, ALKMaps. | |
getTile, ALKMaps. | |
getTileBounds, ALKMaps. | |
getTileData, ALKMaps. | |
getTileOrigin, ALKMaps. | |
getTilesBounds, ALKMaps. | |
getTileSize, ALKMaps.Map | |
getTouchDistance, ALKMaps. | |
getTransport, ALKMaps.Ajax | |
getUnits | |
getURL | |
getVersion, ALKMaps. | |
getVertices | |
getViewBounds, ALKMaps. | |
getViewport, ALKMaps.Map | |
getViewportElement, Util | |
getViewPortPxFromLayerPx, ALKMaps.Map | |
getViewPortPxFromLonLat | |
getVisibility | |
getWidth, ALKMaps. | |
getXMLDoc, ALKMaps. | |
getXmlNodeValue, Util | |
getXYZ, ALKMaps. | |
getZIndex | |
getZoom, ALKMaps.Map | |
getZoomForExtent | |
getZoomForResolution | |
gmlParse, ALKMaps. | |
granularity, ALKMaps. | |
graphicHeight, ALKMaps. | |
graphicName, ALKMaps. | |
graphicOpacity, ALKMaps. | |
graphicRotate, ALKMaps. | |
graphicWidth, ALKMaps. | |
graphicXOffset, ALKMaps. | |
graphicYOffset, ALKMaps. | |
Graticule, ALKMaps. | |
gratLayer, ALKMaps. | |
greedy, ALKMaps. | |
grid, ALKMaps. | |
Grid, ALKMaps. | |
gridBounds, ALKMaps. | |
gridResolution, ALKMaps. | |
group, ALKMaps. | |
groupDiv, ALKMaps. | |
groupEnd, ALKMaps. | |
gutter, ALKMaps. |
This function takes address object, returns address arrays with longitudes and latitudes.
ALKMaps.Geocoder.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 )
Send an HTTP GET request.
GET: function ( config )
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 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()
Returns a canvas context associated with the tile image (with the image drawn on it).
getCanvasContext: function()
{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 current language code.
getCode: function()
Get the string SRS code.
getCode: 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()
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 contorls with names matching the given name.
getControlsByName: function( match )
{Boolean} Returns true if a event will be fired (successfull registration)
getCurrentLocation: 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 ()
Get the distance in pixels between two touches.
getDistance: function( touches )
Gets drag handles from the node.
getDragHandleFromNode: function( nd )
This is the old $() from prototype
ALKMaps.Util.getElement = function ()
ALKMaps.Ajax.getElementsByTagNameNS = function( parentnode, nsuri, nsprefix, tagname )
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()
Calculates using px-> lonlat translation functions on tl and br corners of viewport
getExtent: function ()
Get the map’s extent.
getExtent: function()
{ALKMaps.Bounds} A Bounds object which represents the lon/lat bounds of the current viewPort.
getExtent: function ()
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 )
walk through the layers to find the feature returned by the event
getFeatureFromEvent: function( evt )
Returns a feature id from an event on the renderer.
getFeatureIdFromEvent: function( evt )
Returns a feature id from an event on the renderer.
getFeatureIdFromEvent: function( evt )
getFeatureIdFromEvent: function( evt )
getFeatureIdFromEvent: function( evt )
getFeatureIdFromEvent: 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 url with layer’s 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()
Gets drag handle geometry.
getGeometry: function( handle )
Calculate a tolerance in map units given a tolerance in pixels.
getGeoTolerance: function( tolerance, resolution )
Determins which drag hadle has been dragged.
getHandleAction: function( hd )
getHeader: function( name )
{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 )
getImageSize returns size for a particular tile.
getImageSize: function()
Get label visibility
getLabelVisibility: function ()
Get a layer based on its id
getLayer: function( id )
Create a WMS layer from a layerContext object.
getLayerFromContext: function( layerContext )
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 )
Create an array of layers from an array of layerContext objects.
getLayersFromContext: function( layersContext )
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()
transform geographic xy into pixel xy
getLocalXY: function( point )
getLonLatFromLayerPx: function ( px )
Get a map location from a pixel location
getLonLatFromOverviewPx: function( overviewMapPx )
getLonLatFromPixel: function ( px )
getLonLatFromViewPortPx: function ( viewPortPx )
Get a map location from a pixel location
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 the map object zoom level from the OL zoom level
getMapObjectZoomFromOLZoom: function( olZoom )
Get this layer’s maximum extent.
getMaxExtent: function()
getMaxExtent: function ( options )
{String} The Map’s Maximum Resolution
getMaxResolution: function()
getMousePosition: function ( evt )
Get the next sibling element.
getNextEl: function( node, name, uri )
Get the next element in the order stack.
getNextElement: function( index )
Gets drag handle before this one.
getNextHandle: function( hd )
Gets nodes that are connected to the drag handle.
getNodes: function( hd )
This function is in charge of asking the specific renderer which type of node to create for the given geometry and style.
getNodeType: function( geometry, style )
getNodeType: function( geometry, style )
getNodeType: function( geometry, style )
Get the node type for a geometry and style
getNodeType: function( geometry, style )
{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()
Get the OL zoom index from the map object zoom level
getOLZoomFromMapObjectZoom: function( moZoom )
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 an instance of the cached parser if available, otherwise create one.
getParser: function( version )
Get informations about the pinch event.
getPinchData: function( evt )
Returns a pixel location given a map location.
getPixelFromLonLat: function ( lonlat )
Finds the position of an svg node.
getPosition: function( node )
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()
Get the rect bounds from the map bounds.
getRectBoundsFromMapBounds: function( lonLatBounds )
Renders the contentHTML offscreen to determine actual dimensions for popup sizing.
ALKMaps.Util.getRenderedDimensions = function ( contentHTML, size, options )
Gets the layer that this renderer’s output appears on.
getRenderLayerId: function()
Gets the layer that this renderer’s output appears on.
getRenderLayerId: function()
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()
Get the current map resolution
getResolution: function()
{Float} The current resolution of the map.
getResolution: function ()
Uses cached copy of resolution if available to minimize computing
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()
getResponseHeader: function( name )
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 )
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.
services.getRoutePath = function ( params )
getSafeContentSize: function( size )
{Float} The current scale denominator of the map.
getScale: function ()
ALKMaps.Util.getScaleFromResolution = function ( resolution, units )
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()
getShortString: function( point )
getShortString: function( point )
{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()
getSlideFactor: function( dim )
{Array} An array of segment objects.
getSortedSegments: function()
Get the current state and return it.
getState: function()
getStatus: function()
Get stops for a drag handle.
getStops: function ( handle, transform )
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()
{Boolean} The pixel displacement between two touches.
getTouchDistance: function( from, to )
{Object} Transport mechanism for whichever browser we’re in, or false if none available.
getTransport: function()
{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()
Return a GetMap 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 )
Return a GetMap query string for this layer
getURL: function ( bounds )
getURL: function ( bounds )
Returns the version to use.
getVersion: function( root, options )
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()
getViewPortPxFromLayerPx:function( layerPx )
Returns a pixel location given a map location.
getViewPortPxFromLonLat: function ( lonlat, resolution )
Get a pixel location from a map location
getViewPortPxFromLonLat: function ( lonlat )
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 )
Get the z-index value for the current node from the node data itself.
getZIndex: function( node )
{Integer} the z-index of this layer
getZIndex: function ()
{Integer}
getZoom: function ()
getZoomForExtent: function( extent, closest )
getZoomForExtent: function ( bounds, closest )
getZoomForResolution: function( resolution, closest )
Get the zoom level for a given resolution
getZoomForResolution: function( resolution )
getZoomForResolution: function( resolution, closest )
If a point is to be styled with externalGraphic and rotation, VML fills cannot be used to display the graphic, because rotation of graphic fills is not supported by the VML implementation of Internet Explorer.
graphicRotate: function( node, xOffset, yOffset, style )
Writes a message to the console and opens a nested block to indent all future messages sent to the console.
group: function()
Closes the most recently opened block created by a call to ALKMaps.Console.group
groupEnd: function()