OpenLayers JavaScript Mapping Library | Function Index
Calculate the area of this geometry.
Calculated by subtracting the areas of the internal holes from the area of the outer hole. {Float} The area of the geometry Get an attribute node given the namespace URI and local name. Get an attribute value given the namespace URI and local name. Get the bounds for this Geometry. {OpenLayers.LonLat} {OpenLayers.LonLat} The center of the bounds in map space. {OpenLayers.Pixel} The center of the bounds in pixel space. Get the value of the first child node if it exists, or return an optional default string.
Calculates the max extent which includes all of the markers.
Get a list of elements on a node given the namespace URI and local name. {OpenLayers.Bounds} A Bounds object which represents the lon/lat bounds of the current viewPort. Calculates using px-> lonlat translation functions on tl and br corners of viewport {OpenLayers.Bounds} A Bounds object which represents the lon/lat bounds of the current viewPort. Given a feature id, return the feature if it exists in the features array combine the layer’s url with its params and these newParams. {Float} The height of the bounds (top minus bottom).
{OpenLayers.Size} The size that the image should be, taking into account gutters.
Get a layer based on its id
Calculate the length of this geometry {Float} The length of the curve {Float} The length of the geometry
{Object} The mapObject’s current center in Map Object format {Object} The mapObject’s current center in Map Object format {Object} The mapObject’s current center in Map Object format {Object} The mapObject’s current center in Map Object format
{Integer} The mapObject’s current zoom, in Map Object format {Integer} The mapObject’s current zoom, in Map Object format {Integer} The mapObject’s current zoom, in Map Object format {Integer} The mapObject’s current zoom, in Map Object format
{OpenLayers.Bounds} {String} The Map’s Maximum Resolution {Int} The number of layers attached to the map. {Integer} The total number of zoom levels that can be displayed by the current baseLayer.
{String} The Projection of the base layer. {Float} The currently selected resolution of the map, taken from the resolutions array, indexed by current zoom level. Get the current map resolution {Float} The current resolution of the map. {Float} The current scale denominator of the map. {OpenLayers.Size} The size of the box. {OpenLayers.Size} An OpenLayers.Size object that represents the size, in pixels, of the div into which OpenLayers has been loaded.
Returns The tile bounds for a layer given a pixel location. Returns The tile bounds for a layer given a pixel location. Return the bounds of the tile grid. Get the tile size for the map 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)
{Boolean} The layer should be displayed (if in range). {String} String with information on why layer is broken, how to get it working. {String} String with information on why layer is broken, how to get it working. {String} String with information on why layer is broken, how to get it working. {String} String with information on why layer is broken, how to get it working. {Float} The width of the bounds
{Integer}
Writes a message to the console and opens a nested block to indent all future messages sent to the console. Closes the most recently opened block created by a call to OpenLayers.Console.group |