Function 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
P
 page, OpenLayers.Strategy.Paging
 pageCount, OpenLayers.Strategy.Paging
 pageLength, OpenLayers.Strategy.Paging
 pageNext, OpenLayers.Strategy.Paging
 pageNum, OpenLayers.Strategy.Paging
 pagePositon, Util
 pagePrevious, OpenLayers.Strategy.Paging
 pan, OpenLayers.Map
 panIntoView, OpenLayers.Popup
 panMap, OpenLayers.Control.DragPan
 panMapDone, OpenLayers.Control.DragPan
 panTo, OpenLayers.Map
 parseAttributes
 parseData
 parseEnvelope, OpenLayers.Format.ArcXML
 parseExtendedData, OpenLayers.Format.KML
 parseFeature
 parseFeatures
 parseGeometry
 parseLinks, OpenLayers.Format.KML
 parsePointGeometry, OpenLayers.Format.ArcXML
 parseProperty, OpenLayers.Format.KML
 parseResponse, OpenLayers.Format.ArcXML
 parseStyle, OpenLayers.Format.KML
 parseStyleMaps, OpenLayers.Format.KML
 parseStyles, OpenLayers.Format.KML
 parseXMLString
 passesTolerance
 passEventToSlider, OpenLayers.Control.PanZoomBar
 pixelToBounds, OpenLayers.Control.GetFeature
 play, OpenLayers.Tween
 point
 polygon
 positionImage, OpenLayers.Tile.Image
 POST, OpenLayers.Request
 postDraw
 preFeatureInsert, OpenLayers.Layer.Vector
 previousTrigger, OpenLayers.Control.NavigationHistory
 processXMLNode, OpenLayers.Feature.WFS
 profile, OpenLayers.Console
 profileEnd, OpenLayers.Console
 projectForward, OpenLayers.Layer.SphericalMercator
 projectInverse, OpenLayers.Layer.SphericalMercator
 PUT, OpenLayers.Request
R
 rad, Util
 raiseLayer, OpenLayers.Map
 read
 read_cap_Abstract
 read_cap_Capability, OpenLayers.Format.WMSCapabilities.v1_1
 read_cap_DCPType, OpenLayers.Format.WMSCapabilities.v1_1
 read_cap_FeatureType, OpenLayers.Format.WFSCapabilities.v1
 read_cap_FeatureTypeList, OpenLayers.Format.WFSCapabilities.v1
 read_cap_Format, OpenLayers.Format.WMSCapabilities.v1_1
 read_cap_GetMap, OpenLayers.Format.WMSCapabilities.v1_1
 read_cap_LatLonBoundingBox, OpenLayers.Format.WMSCapabilities.v1_1
 read_cap_Layer, OpenLayers.Format.WMSCapabilities.v1_1
 read_cap_LegendURL, OpenLayers.Format.WMSCapabilities.v1_1
 read_cap_Name
 read_cap_OnlineResource, OpenLayers.Format.WMSCapabilities.v1_1
 read_cap_Request, OpenLayers.Format.WMSCapabilities.v1_1
 read_cap_ScaleHint, OpenLayers.Format.WMSCapabilities.v1_1
 read_cap_Service, OpenLayers.Format.WMSCapabilities.v1_1
 read_cap_Style, OpenLayers.Format.WMSCapabilities.v1_1
 read_cap_Title
 read_FeatureInfoResponse, OpenLayers.Format.WMSGetFeatureInfo
 read_msGMLOutput, OpenLayers.Format.WMSGetFeatureInfo
 read_ol_displayInLayerSwitcher, OpenLayers.Format.WMC.v1
 read_ol_isBaseLayer, OpenLayers.Format.WMC.v1
 read_ol_maxExtent, OpenLayers.Format.WMC.v1
 read_ol_numZoomLevels, OpenLayers.Format.WMC.v1
 read_ol_opacity, OpenLayers.Format.WMC.v1
 read_ol_singleTile, OpenLayers.Format.WMC.v1
 read_ol_transparent, OpenLayers.Format.WMC.v1
 read_ol_units, OpenLayers.Format.WMC.v1
 read_sld_MaxScaleDenominator, OpenLayers.Format.WMC.v1_1_0
 read_sld_MinScaleDenominator, OpenLayers.Format.WMC.v1_1_0
 read_sld_StyledLayerDescriptor, OpenLayers.Format.WMC.v1
 read_wmc_Abstract, OpenLayers.Format.WMC.v1
 read_wmc_BoundingBox, OpenLayers.Format.WMC.v1
 read_wmc_Extension, OpenLayers.Format.WMC.v1
 read_wmc_Format, OpenLayers.Format.WMC.v1
 read_wmc_FormatList, OpenLayers.Format.WMC.v1
 read_wmc_General, OpenLayers.Format.WMC.v1
 read_wmc_LatLonBoundingBox, OpenLayers.Format.WMC.v1
 read_wmc_Layer, OpenLayers.Format.WMC.v1
 read_wmc_LayerList, OpenLayers.Format.WMC.v1
 read_wmc_LegendURL, OpenLayers.Format.WMC.v1
 read_wmc_MetadataURL, OpenLayers.Format.WMC.v1
 read_wmc_Name, OpenLayers.Format.WMC.v1
 read_wmc_OnlineResource, OpenLayers.Format.WMC.v1
 read_wmc_Server, OpenLayers.Format.WMC.v1
 read_wmc_SLD, OpenLayers.Format.WMC.v1
 read_wmc_Style, OpenLayers.Format.WMC.v1
 read_wmc_StyleList, OpenLayers.Format.WMC.v1
 read_wmc_Title, OpenLayers.Format.WMC.v1
 readChildNodes, OpenLayers.Format.XML
 readNode, OpenLayers.Format.XML
 readOgcExpression, OpenLayers.Format.Filter.v1
 readRestriction
 readSpatial, OpenLayers.Format.Filter.v1
 rectDrag, OpenLayers.Control.OverviewMap
 redraw
 redrawBackgroundNode, OpenLayers.Renderer.Elements
 redrawNode, OpenLayers.Renderer.Elements
 refresh
 regex2value, OpenLayers.Filter.Comparison
 register
 registerEvents, OpenLayers.Popup
 registerImageListeners, OpenLayers.Popup
 registerPriority, OpenLayers.Events
 registerWheelEvents, OpenLayers.Control.MouseDefaults
 remove
 removeBox, OpenLayers.Handler.Box
 removeButtons, OpenLayers.Control.PanZoom
 removeByGeometry, OpenLayers.Control.Split
 removeClass, OpenLayers.Element
 removeComponent
 removeComponents, OpenLayers.Geometry.Collection
 removeControl, OpenLayers.Map
 removeExcessTiles, OpenLayers.Layer.Grid
 removeFeatures, OpenLayers.Layer.Vector
 removeItem, Util
 removeLayer, OpenLayers.Map
 removeMap
 removeMarker
 removePoint
 removePopup, OpenLayers.Map
 removeTail, Util
 removeTarget, OpenLayers.Control.Snapping
 removeTargetLayer, OpenLayers.Control.Snapping
 removeText
 removeTileMonitoringHooks
 removeTimeout, OpenLayers.Handler.Drag
 removeZoomBox, OpenLayers.Control.MouseDefaults
 render, OpenLayers.Map
 renderTile, OpenLayers.Tile.Image
 request
 requestFailure, OpenLayers.Layer.GML
 requestSuccess
 resetBackBuffer, OpenLayers.Tile.Image
 resetLayersZIndex, OpenLayers.Map
 resetRoots, OpenLayers.Layer.Vector.RootContainer
 resetVertices, OpenLayers.Control.ModifyFeature
 resize
 respondToReadyState, OpenLayers.Ajax.Request
 restore, OpenLayers.Control.NavigationHistory
 rightclick, OpenLayers.Handler.Click
 rotate
 runChildNodes
page: function(start,
event)
Display the page starting at the given index from the cache.
pageCount: function()
Get the total count of pages given the current cache of features.
pageLength: function(newLength)
Gets or sets page length.
pageNext: function(event)
Display the next page of features.
pageNum: function()
Get the zero based page number.
Calculates the position of an element on the page.
pagePrevious: function()
Display the previous page of features.
pan: function(dx,
dy,
options)
Allows user to pan by a value of screen pixels
panIntoView: function()
Pans the map such that the popup is totaly viewable (if necessary)
panMap: function(xy)
panMapDone: function(xy)
Finish the panning operation.
panTo: function(lonlat)
Allows user to pan to a new lonlat If the new lonlat is in the current extent the map will slide smoothly
parseAttributes: function(node,
type)
parseAttributes: function(node)
parseAttributes: function(node)
parseAttributes: function(node)
parseAttributes: function(node)
parseData: function(data,
options)
Read data from a string, and return a list of features.
parseData: function(ajaxRequest)
Parse the data returned from the Events call.
parseData: function(ajaxRequest)
parseEnvelope: function(env,
arr)
Parse an array of coordinates into an ArcXML envelope structure.
parseExtendedData: function(node)
Parse ExtendedData from KML.
parseFeature: function(obj)
Convert a feature object from GeoJSON into an OpenLayers.Feature.Vector.
parseFeature: function(node)
This function is the core of the GML parsing code in OpenLayers.
parseFeature: function(node)
This function is the core of the KML parsing code in OpenLayers.
parseFeatures: function(nodes,
options)
Loop through all Placemark nodes and parse them.
parseFeatures: function(request)
Read HTTP response body and return features.
parseFeatures: function(request)
Read HTTP response body and return features
parseGeometry: function(obj)
Convert a geometry object from GeoJSON into an OpenLayers.Geometry.
parseGeometry: function(node)
Parse the geometry out of the node using Format.GML
parseLinks: function(nodes,
options)
Finds URLs of linked KML documents and fetches them
parsePointGeometry: function(node)
parseProperty: function(xmlNode,
namespace,
tagName)
Convenience method to find a node and return its value
parseResponse: function(data)
Take an ArcXML response, and parse in into this object’s internal properties.
parseStyle: function(node)
Parses the children of a Style node and builds the style hash accordingly
parseStyleMaps: function(nodes,
options)
Looks for Style nodes in the data and parses them Also parses StyleMap nodes, but only uses the ‘normal’ key
parseStyles: function(nodes,
options)
Looks for Style nodes in the data and parses them Also parses StyleMap nodes, but only uses the ‘normal’ key
OpenLayers.parseXMLString = function(text)
Parse XML into a doc structure
passesTolerance: function(evt)
Determine whether the event is within the optional pixel tolerance.
passesTolerance: function(px)
Determine whether the mouse move is within the optional pixel tolerance.
passEventToSlider:function(evt)
This function is used to pass events that happen on the div, or the map, through to the slider, which then does its moving thing.
pixelToBounds: function(pixel)
Takes a pixel as argument and creates bounds after adding the clickTolerance.
play: function()
Calls the appropriate easing method
Return an array of coordinates from a point.
Convert a coordinate array from GeoJSON into an OpenLayers.Geometry.
Given an OpenLayers point geometry, create a GML point.
Given a GML node representing a point geometry, create an OpenLayers point geometry.
Given an OpenLayers point geometry, create a KML point.
Given a KML node representing a point geometry, create an OpenLayers point geometry.
Return an array of linear ring arrays from a polygon.
Convert a coordinate array from GeoJSON into an OpenLayers.Geometry.
Given an OpenLayers polygon geometry, create a GML polygon.
Given a GML node representing a polygon geometry, create an OpenLayers polygon geometry.
Given an OpenLayers polygon geometry, create a KML polygon.
Given a KML node representing a polygon geometry, create an OpenLayers polygon geometry.
positionImage: function()
Using the properties currenty set on the layer, position the tile correctly.
POST: function(config)
Send a POST request.
postDraw: function(node)
Things that have do be done after the geometry node is appended to its parent node.
postDraw: function(node)
Some versions of Internet Explorer seem to be unable to set fillcolor and strokecolor to “none” correctly before the fill node is appended to a visible vml node.
preFeatureInsert: function(feature)
method called before a feature is inserted.
previousTrigger: function()
Restore the previous state.
processXMLNode: function(xmlNode)
When passed an xmlNode, parses it for a GML point, and passes back an object describing that point.
profile: function()
Turns on the JavaScript profiler.
profileEnd: function()
Turns off the JavaScript profiler and prints its report.
projectForward: function(point)
Given an object with x and y properties in EPSG:4326, modify the x,y properties on the object to be the Spherical Mercator projected coordinates.
projectInverse: function(point)
Given an object with x and y properties in Spherical Mercator, modify the x,y properties on the object to be the unprojected coordinates.
PUT: function(config)
Send an HTTP PUT request.
OpenLayers.Util.rad = function(x)
raiseLayer: function (layer,
delta)
Change the index of the given layer by delta.
read: function(data)
read: function(data)
Read data from a string, and return an object whose type depends on the subclass.
read: function(data)
Read data from a string, and return an response.
read: function(data)
Read data from a string of ArcXML, and return a set of OpenLayers features.
read: function(data)
Read and Filter doc and return an object representing the Filter.
read: function(data)
read: function(json,
type,
filter)
Deserialize a GeoJSON string.
read: function(data)
Read data from a string, and return a list of features.
read: function(data)
read: function(doc)
Return a list of features from a GPX doc
read: function(json,
filter)
Deserialize a json string.
read: function(data)
Read data from a string, and return a list of features.
read: function(data,
options)
Read and SLD doc and return an object representing the SLD.
read: function(data,
options)
read: function(text)
Return a list of features from a Tab Seperated Values text string.
read: function(data)
Read capabilities data from a string, and return a list of layers.
read: function(data)
Read capabilities data from a string, and return a list of layers.
read: function(data)
Parse the response from a transaction.
read: function(wkt)
Deserialize a WKT string and return a vector feature or an array of vector features.
read: function(data,
options)
Read WMC data from a string, and return an object with map properties and a list of layers.
read: function(data)
Read capabilities data from a string, and return a list of layers.
read: function(data)
Read capabilities data from a string, and return a list of layers.
read: function(data)
Read capabilities data from a string, and return a list of layers.
read: function(data)
Read DescribeLayer data from a string, and return the response.
read: function(data)
Read DescribeLayer data from a string, and return the response.
read: function(data)
Read WMS GetFeatureInfo data from a string, and return an array of features
read: function()
Construct a request for reading new features.
read: function(options)
Construct a request for reading new features.
read: function(options)
Read all features from the database and return a OpenLayers.Protocol.Response instance.
read: function(options)
Construct a request for reading new features.
read_cap_Abstract: function(obj,
node)
read_cap_Abstract: function(obj,
node)
read_cap_Capability: function(capabilities,
node)
read_cap_DCPType: function(obj,
node)
Super simplified HTTP href extractor.
read_cap_FeatureType: function(featureTypeList,
node,
parentLayer)
read_cap_FeatureTypeList: function(request,
node)
read_cap_Format: function(obj,
node)
read_cap_GetMap: function(request,
node)
read_cap_LatLonBoundingBox: function(layer,
node)
read_cap_Layer: function(capability,
node,
parentLayer)
read_cap_LegendURL: function(style,
node)
read_cap_Name: function(obj,
node)
read_cap_Name: function(obj,
node)
read_cap_OnlineResource: function(obj,
node)
read_cap_Request: function(obj,
node)
read_cap_ScaleHint: function(layer,
node)
The Layer ScaleHint element has min and max attributes that relate to the minimum and maximum resolution that the server supports.
read_cap_Service: function(capabilities,
node)
read_cap_Style: function(layer,
node)
read_cap_Title: function(obj,
node)
read_cap_Title: function(obj,
node)
read_FeatureInfoResponse: function(data)
Parse FeatureInfoResponse nodes.
read_msGMLOutput: function(data)
Parse msGMLOutput nodes.
read_ol_displayInLayerSwitcher: function(layerInfo,
node)
read_ol_isBaseLayer: function(layerInfo,
node)
read_ol_maxExtent: function(obj,
node)
read_ol_numZoomLevels: function(layerInfo,
node)
read_ol_opacity: function(layerInfo,
node)
read_ol_singleTile: function(layerInfo,
node)
read_ol_transparent: function(layerInfo,
node)
read_ol_units: function(layerInfo,
node)
read_sld_MaxScaleDenominator: function(layerInfo,
node)
Read a sld:MaxScaleDenominator node.
read_sld_MinScaleDenominator: function(layerInfo,
node)
Read a sld:MinScaleDenominator node.
read_sld_StyledLayerDescriptor: function(sld,
node)
read_wmc_Abstract: function(obj,
node)
read_wmc_BoundingBox: function(context,
node)
read_wmc_Extension: function(obj,
node)
read_wmc_Format: function(layerInfo,
node)
read_wmc_FormatList: function(layerInfo,
node)
read_wmc_General: function(context,
node)
read_wmc_LatLonBoundingBox: function(layer,
node)
read_wmc_Layer: function(context,
node)
read_wmc_LayerList: function(context,
node)
read_wmc_LegendURL: function(style,
node)
read_wmc_MetadataURL: function(layerInfo,
node)
read_wmc_Name: function(obj,
node)
read_wmc_OnlineResource: function(obj,
node)
read_wmc_Server: function(layerInfo,
node)
read_wmc_SLD: function(style,
node)
read_wmc_Style: function(layerInfo,
node)
read_wmc_StyleList: function(layerInfo,
node)
read_wmc_Title: function(obj,
node)
readChildNodes: function(node,
obj)
Shorthand for applying the named readers to all children of a node.
readNode: function(node,
obj)
Shorthand for applying one of the named readers given the node namespace and local name.
readOgcExpression: function(node)
Limited support for OGC expressions.
readRestriction: function(node,
obj)
Reads restriction defined in the child nodes of a restriction element
readSpatial: function(node,
obj,
type)
Read a {OpenLayers.Filter.Spatial} filter.
rectDrag: function(px)
Handle extent rectangle drag
redraw: function()
Goes through and takes the current state of the Map and rebuilds the control to display that state.
redraw: function(evt)
redraw: function()
redraw: function()
clear the div and start over.
redraw: function()
Redraws the layer.
redraw: function(force)
Redraws the layer.
redraw: function()
The real ‘meat’ of the function: any time things have changed, redraw() can be called to loop over all the data and (you guessed it) redraw it.
redrawBackgroundNode: function(id,
geometry,
style,
featureId)
Redraws the node using special ‘background’ style properties.
redrawNode: function(id,
geometry,
style,
featureId)
refresh: function(obj)
Ask the layer to request features again and redraw them.
refresh: function()
Refreshes all the features of the layer
regex2value: function()
Convert the value of this rule from a regular expression string into an ogc literal string using a wildCard of *, a singleChar of ., and an escape of !.
register: function(responderToAdd)
register: function (type,
obj,
func)
Register an event on the events object.
register: function (name,
method)
register an event on the map
registerEvents:function()
Registers events on the popup.
registerImageListeners: function()
Called when an image contained by the popup loaded.
registerPriority: function (type,
obj,
func)
Same as register() but adds the new listener to the front of the events queue instead of to the end.
registerWheelEvents: function()
remove: function(element)
Remove the specified element from the DOM.
remove: function(node)
remove: function(type)
Remove all listeners for a given event type.
remove: function(feature)
Takes a feature, and generates a WFS-T Transaction “Delete”
removeBox: function()
Remove the zoombox from the screen and nullify our reference to it.
removeButtons: function()
removeByGeometry: function(features,
geometry)
Remove a feature from a list based on the given geometry.
removeClass: function(element,
name)
Remove a CSS class name from an element.
removeComponent: function(component)
Remove a component from this geometry.
removeComponent: function(point)
Removes a point from geometry components.
removeComponent: function(point)
Only allows removal of a point if there are three or more points in the linestring.
removeComponents: function(components)
Remove components from this geometry.
removeControl: function (control)
Remove a control from the map.
removeExcessTiles: function(rows,
columns)
When the size of the map or the buffer changes, we may need to remove some excess rows and columns.
removeFeatures: function(features,
options)
Remove features from the layer.
OpenLayers.Util.removeItem = function(array,
item)
Remove an object from an array.
removeLayer: function(layer,
setNewBaseLayer)
Removes a layer from the map by removing its visual element (the layer.div property), then removing it from the map’s internal list of layers, setting the layer’s map property to null.
removeMap: function(map)
Just as setMap() allows each layer the possibility to take a personalized action on being added to the map, removeMap() allows each layer to take a personalized action on being removed from it.
removeMap: function(map)
On being removed from the map, we’ll like to remove the invisible ‘pane’ div that we added to it on creation.
removeMap: function(map)
On being removed from the map, also remove termsOfUse and poweredBy divs
removeMap: function(map)
The layer has been removed from the map.
removeMap: function(map)
removeMarker: function(marker)
removeMarker: function(marker)
removePoint: function(point)
Wrapper for OpenLayers.Geometry.Collection.removeComponent
removePoint: function()
Destroy the temporary point.
removePopup: function(popup)
OpenLayers.Util.removeTail = function(url)
Takes a url and removes everything after the ?
removeTarget: function(target)
Remove a target.
removeTargetLayer: function(layer)
Remove a target layer.
removeText: function(featureId)
Function for removing text labels.
removeText: function(featureId)
Removes a label
removeTileMonitoringHooks: function(tile)
This function takes a tile as input and removes the tile hooks that were added in addTileMonitoringHooks()
removeTileMonitoringHooks: function(tile)
This function takes a tile as input and removes the tile hooks that were added in addTileMonitoringHooks.
removeTileMonitoringHooks: function(tile)
This function takes a tile as input and removes the tile hooks that were added in addTileMonitoringHooks()
removeTimeout: function()
Private.
removeZoomBox: function()
Remove the zoombox from the screen and nullify our reference to it.
render: function(div)
Render the map to a specified container.
renderTile: function()
Internal function to actually initialize the image tile, position it correctly, and set its url.
request: function(url)
request: function(bounds,
options)
Sends a GetFeature request to the WFS
request: function(clickPosition,
options)
Sends a GetFeatureInfo request to the WMS
requestFailure: function(request)
Process a failed loading of GML.
requestSuccess:function(request)
Process GML after it has been loaded.
requestSuccess:function(request)
Called on return from request succcess.
resetBackBuffer: function()
Triggered by two different events, layer loadend, and tile loadend.
resetLayersZIndex: function()
Reset each layer’s z-index based on layer’s array index
resetRoots: function()
Resets the root nodes back into the layers they belong to.
resetVertices: function()
resize: function(scale,
origin,
ratio)
Resize a geometry relative to some origin.
resize: function(scale,
origin,
ratio)
Resize a geometry relative to some origin.
resize: function(scale,
origin,
ratio)
Resize a point relative to some origin.
respondToReadyState: function(readyState)
restore: function(state)
Update the state with the given object.
rightclick: function(evt)
Handle rightclick.
rotate: function(angle,
origin)
Rotate a geometry around some origin
rotate: function(angle,
origin)
Rotate a geometry around some origin
rotate: function(angle,
origin)
Rotate a point around another.
runChildNodes: function(obj,
node)
runChildNodes: function(obj,
node)
runChildNodes: function(obj,
node)
Close