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
S
 safeStopPropagation, Util
 save, OpenLayers.Strategy.Save
 Save, OpenLayers.Strategy.Save.OpenLayers.Strategy
 saveFeatureState, OpenLayers.Protocol.SQL.Gears
 scale, OpenLayers.Bounds
 Scale, OpenLayers.Control.Scale.OpenLayers.Control
 ScaleLine, OpenLayers.Control.ScaleLine.OpenLayers.Control
 scales, OpenLayers.Layer
 schema, OpenLayers.Protocol.WFS.v1
 schemaLocation
 schemaLocationAttr, OpenLayers.Format.WFST.v1
 schemaLocations
 scope
 segmentsIntersect, OpenLayers.Geometry.OpenLayers.Geometry
 select
 selectBestFeature, OpenLayers.Control.GetFeature
 selectBox
 selectControl, OpenLayers.Control.ModifyFeature
 selectedFeature
 selectedFeatures, OpenLayers.Layer.Vector
 selectFeature, OpenLayers.Control.ModifyFeature
 SelectFeature, OpenLayers.Control.SelectFeature.OpenLayers.Control
 selectSingle, OpenLayers.Control.GetFeature
 selectStyle, OpenLayers.Control.SelectFeature
 selectUrl, OpenLayers.Layer.HTTPRequest
 separator, OpenLayers.Control.MousePosition
 seperator, OpenLayers.Control.Attribution
 serialize, OpenLayers.Format.JSON
 serializeTags, OpenLayers.Format.OSM
 serializeXMLToString, OpenLayers.Ajax.Response
 serverResolutions
 serviceVersion, OpenLayers.Layer.TMS
 setAttributeNS, OpenLayers.Format.XML
 setAttributes
 setBackgroundColor
 setBaseLayer, OpenLayers.Map
 setBorder
 setCanvasStyle, OpenLayers.Renderer.Canvas
 setCenter
 setCode, OpenLayers.Lang
 setContentHTML, OpenLayers.Popup
 setDefaultStyle, OpenLayers.Style
 setEvent, OpenLayers.Handler
 setExtent
 setFeatureState, OpenLayers.Control.ModifyFeature
 setFilterProperty, OpenLayers.Format.WFST.v1
 setGeometryTypes
 setIsBaseLayer, OpenLayers.Layer
 setLayer
 setLayerFilter, OpenLayers.Layer.ArcGIS93Rest
 setLayerIndex, OpenLayers.Map
 setLayerQuery, OpenLayers.Layer.ArcIMS
 setLayerZIndex, OpenLayers.Map
 setListeners, OpenLayers.Control.NavigationHistory
 setMap
 setMapObjectCenter
 setMapType, OpenLayers.Layer.Google
 setModifiers, OpenLayers.Control.GetFeature
 setName, OpenLayers.Layer
 setNamespace, OpenLayers.Format.XML
 setNodeDimension, OpenLayers.Renderer.VML
 setOpacity
 setOptions
 setRectPxBounds, OpenLayers.Control.OverviewMap
 setRequestHeaders, OpenLayers.Ajax.Request
 setRicoCorners, OpenLayers.Popup.AnchoredBubble
 setSize
 setSource, OpenLayers.Control.Split
 setState, OpenLayers.Format.OSM
 setStyle
 setTargets, OpenLayers.Control.Snapping
 setTileSize
 setUrl
 setVisibility
 setZIndex
 shiftColumn, OpenLayers.Layer.Grid
 shiftRow, OpenLayers.Layer.Grid
 shouldCluster, OpenLayers.Strategy.Cluster
 show
 showControls, OpenLayers.Control.LayerSwitcher
 showTile, OpenLayers.Tile
 showToggle, OpenLayers.Control.OverviewMap
 sides, OpenLayers.Handler.RegularPolygon
 single, OpenLayers.Handler.Click
 SINGLE_TILE_PARAMS, OpenLayers.Layer.MapGuide
 singleFeatureType, OpenLayers.Format.GML.Base
 singleTile
 size
 Size, OpenLayers.Size.OpenLayers
 SLD, OpenLayers.Format.SLD.OpenLayers.Format
 slideFactor
 slider, OpenLayers.Control.PanZoomBar
 slideRatio, OpenLayers.Control.PanZoom
 sliderEvents, OpenLayers.Control.PanZoomBar
 smoothDragPan, OpenLayers.Layer.EventPane
 snapAngle, OpenLayers.Handler.RegularPolygon
 Snapping, OpenLayers.Control.Snapping.OpenLayers.Control
 snapToggle, OpenLayers.Handler.RegularPolygon
 source, OpenLayers.Control.Split
 sourceFilter, OpenLayers.Control.Split
 sourceOptions, OpenLayers.Control.Split
 space, OpenLayers.Format.JSON
 Spatial, OpenLayers.Filter.Spatial.OpenLayers.Filter
 sphericalMecator, OpenLayers.Layer.XYZ
 sphericalMercator
 spiralTileLoad, OpenLayers.Layer.Grid
 split
 Split, OpenLayers.Control.Split.OpenLayers.Control
 splitWith
 splitWithSegment, OpenLayers.Geometry.LineString
 SQL, OpenLayers.Protocol.SQL.OpenLayers.Protocol
 srsName
 start
 startBox, OpenLayers.Handler.Box
 started, OpenLayers.Handler.Drag
 startsWith
 startTransition, OpenLayers.Tile.Image
 state, OpenLayers.Feature.Vector
 stateName, OpenLayers.Format.WFST.v1
 status, OpenLayers.Ajax.Response
 statusText, OpenLayers.Ajax.Response
 stop
 stopClick, OpenLayers.Handler.Feature
 stopDouble, OpenLayers.Handler.Click
 stopDown
 stopMove, OpenLayers.Handler.Hover
 stopObserving, OpenLayers.Event
 stopObservingElement, OpenLayers.Event
 stopSingle, OpenLayers.Handler.Click
 stopUp, OpenLayers.Handler.Feature
 strategies, OpenLayers.Layer.Vector
 Strategy, OpenLayers.Strategy.OpenLayers
 string, OpenLayers.Format.JSON.serialize
 style
 Style, OpenLayers.Style.OpenLayers
 styleBaseUrl, OpenLayers.Format.KML
 styleMap, OpenLayers.Layer.Vector
 StyleMap, OpenLayers.StyleMap.OpenLayers
 styles
 success
 suffix, OpenLayers.Control.MousePosition
 supported
 SUPPORTED_TRANSITIONS, OpenLayers.Layer
 surface, OpenLayers.Format.GML.v3
 SVG, OpenLayers.Renderer.SVG.OpenLayers.Renderer
 switchModeTo, OpenLayers.Control.MouseToolbar
 symbol, OpenLayers.Renderer.Elements.OpenLayers.Renderer
 symbolCache, OpenLayers.Renderer.VML
 symbolizer, OpenLayers.Rule
 SYMBOLIZER_PREFIXES, OpenLayers.Style.OpenLayers.Style
 symbolSize, OpenLayers.Renderer.SVG
OpenLayers.Util.safeStopPropagation = function(evt)
Deprecated.
save: function(features)
Tell the layer protocol to commit unsaved features.
Create a new Save strategy.
{Boolean} Whether to save the feature state (OpenLayers.State) into the database, defaults to true.
scale: function(ratio,
origin)
Scales the bounds around a pixel or lonlat.
Create a new scale line control.
{Array} An array of map scales in descending order.
{String} Optional schema location that will be included in the schemaLocation attribute value.
{String} Schema location for a particular minor version.
{String} http://www.opengis.net/ogc/filter/1.0.0/filter.xsd
{String} http://www.opengis.net/ogc/filter/1.1.0/filter.xsd
{String} Schema location for a particular minor version.
{String} Schema location for a particular minor version.
{String} Schema location for a particular minor version.
{String} Schema location for a particular minor version.
{String} http://www.opengis.net/sld http://schemas.opengis.net/sld/1.0.0/StyledLayerDescriptor.xsd
{String} Schema location for a particular minor version.
{String} Schema location for a particular minor version.
{String} http://www.opengis.net/context http://schemas.opengis.net/context/1.0.0/context.xsd
{String} http://www.opengis.net/context http://schemas.opengis.net/context/1.1.0/context.xsd
schemaLocationAttr: function(options)
Generate the xsi:schemaLocation attribute value.
{Object} Properties are namespace aliases, values are schema locations.
{Object} Properties are namespace aliases, values are schema locations.
{Object} The scope to use with the onBeforeSelect, onSelect, onUnselect callbacks.
{Object} Callback execution scope, read-only, set through the options passed to the constructor.
OpenLayers.Geometry.segmentsIntersect = function(seg1,
seg2,
options)
Determine whether two line segments intersect.
select: function(features)
Add feature to the hash of selected features and trigger the featureselected event.
select: function(feature)
Add feature to the layer’s selectedFeature array, render the feature as selected, and call the onSelect function.
selectBestFeature: function(features,
clickPosition,
options)
Selects the feature from an array of features that is the best match for the click position.
selectBox: function(position)
Callback from the handlers.box set up when box selection is on
selectBox: function(position)
Callback from the handlers.box set up when box selection is true on.
{OpenLayers.Control.SelectFeature}
{OpenLayers.Feature}
{OpenLayers.Feature}
{Array(OpenLayers.Feature.Vector)}
selectFeature: function(feature)
Called when the select feature control selects a feature.
Create a new control for selecting features.
selectSingle: function(evt)
Called on click
{Object} Hash of styles
selectUrl: function(paramString,
urls)
selectUrl() implements the standard floating-point multiplicative hash function described by Knuth, and hashes the contents of the given param string into a float between 0 and 1.
{String}
{String} String used to seperate layers.
Object with properties corresponding to the serializable data types.
serializeTags: function(feature,
node)
Given a feature, serialize the attributes onto the given node.
OpenLayers.Ajax.serializeXMLToString = function(xmldom)
Wrapper function around XMLSerializer, which doesn’t exist/work in IE/Safari.
{Array} A list of all resolutions available on the server.
{Array} A list of all resolutions available on the server.
{String}
setAttributeNS: function(node,
uri,
name,
value)
Adds a new attribute or changes the value of an attribute with the given namespace and name.
setAttributes: function(node,
obj)
Set multiple attributes given key value pairs from an object.
setAttributes: function(node,
obj)
Set multiple attributes given key value pairs from an object.
setBackgroundColor:function(color)
Sets the background color of the popup.
setBackgroundColor:function(color)
setBackgroundColor:function(color)
setBaseLayer: function(newBaseLayer)
Allows user to specify one of the currently-loaded layers as the Map’s new base layer.
setBorder: function (color,
width)
Allow the user to change the box’s color and border width
setBorder:function(border)
Sets the border style of the popup.
setBorder:function(border)
Always sets border to 0.
setBorder:function()
setCanvasStyle: function(type,
style)
Prepare the canvas for drawing by setting various global settings.
setCenter: function()
As soon as a baseLayer has been loaded, we center and zoom ...and remove the handler.
setCenter: function(lonlat,
zoom,
dragging,
forceZoomChange)
Set the map center (and optionally, the zoom level).
setCode: function(code)
Set the language code for string translation.
setContentHTML:function(contentHTML)
Allows the user to set the HTML content of the popup.
setDefaultStyle: function(style)
Sets the default style for this style object.
setEvent: function(evt)
With each registered browser event, the handler sets its own evt property.
setExtent: function(extent,
resolutionChanged)
Set the visible part of the layer.
setExtent: function(extent)
Set the visible part of the layer.
setExtent: function(extent,
resolutionChanged)
setExtent: function(extent,
resolutionChanged)
Set the renderer’s extent
setFeatureState: function()
Called when the feature is modified.
setFilterProperty: function(filter)
Set the property of each spatial filter.
setGeometryTypes: function()
Sets the geometryTypes mapping.
setGeometryTypes: function()
Sets the geometryTypes mapping.
setIsBaseLayer: function(isBaseLayer)
setLayer: function(layer)
Set the editable layer.
setLayer: function(layer)
Called to set the layer property.
setLayerFilter: function (id,
queryDef)
addTile creates a tile, initializes it, and adds it to the layer div.
setLayerIndex: function (layer,
idx)
Move the given layer to the specified (zero-based) index in the layer list, changing its z-index in the map display.
setLayerQuery: function(id,
querydef)
Set the query definition on this layer.
setLayerZIndex: function (layer,
zIdx)
setListeners: function()
Sets functions to be registered in the listeners object.
setMap: function(map)
Set the map property for the control.
setMap: function(map)
Set the map property for the control.
setMap: function(map)
Set the map property for the control and all handlers.
setMap: function(map)
Set the map property for the control.
setMap: function(map)
setMap: function(map)
Set the map property for the control and all handlers.
setMap: function()
setMap: function(map)
Set the map property for the control and previous and next child controls.
setMap: function(map)
setMap: function(map)
Set the map property for the control.
setMap: function(map)
Set the map property for the control.
setMap: function(map)
Set the map property for the control.
setMap: function (map)
setMap: function (map)
setMap: function(map)
Set the map property for the layer.
setMap: function(map)
Set the map property for the layer.
setMap: function(map)
Overridden from EventPane because if a map type has been specified, we need to attach a listener for the first moveend -- this is how we will know that the map has been centered.
setMap: function(map)
setMap: function(map)
When the layer is added to a map, then we can fetch our origin (if we don’t have one.)
setMap: function(map)
The layer has been added to the map.
setMap: function(map)
setMap: function(map)
setMap: function(map)
When the layer is added to a map, then we can fetch our origin (if we don’t have one.)
setMap: function(map)
Overridden from EventPane because we need to remove this yahoo event pane which prohibits our drag and drop, and we can only do this once the map has been loaded and centered.
setMapObjectCenter: function(center,
zoom)
Set the mapObject to the specified center and zoom
setMapObjectCenter: function(center,
zoom)
Set the mapObject to the specified center and zoom
setMapObjectCenter: function(center,
zoom)
Set the mapObject to the specified center and zoom
setMapObjectCenter: function(center,
zoom)
Set the mapObject to the specified center and zoom
setMapType: function()
The map has been centered, and a map type was specified, so we set the map type on the gmap object, then unregister the listener so that we dont keep doing this every time the map moves.
setModifiers: function(evt)
Sets the multiple and toggle modifiers according to the current event
setName: function(newName)
Sets the new layer name for this layer.
setNamespace: function(alias,
uri)
Set a namespace alias and URI for the format.
setNodeDimension: function(node,
geometry)
Get the geometry’s bounds, convert it to our vml coordinate system, then set the node’s position, size, and local coordinate system.
setOpacity: function(opacity)
Change the icon’s opacity
setOpacity: function(opacity)
Sets the opacity for the entire layer (all images)
setOpacity: function(opacity)
Sets the opacity for all the markers.
setOpacity: function (opacity)
Call the setOpacity method of the appropriate parent class to set the opacity.
setOpacity: function(opacity)
Change the opacity of the marker by changin the opacity of its icon
setOpacity:function(opacity)
Sets the opacity of the popup.
setOpacity:function(opacity)
setOpacity:function(opacity)
Sets the opacity of the popup.
OpenLayers.Util.setOpacity = function(element,
opacity)
Deprecated.
setOptions: function (newOptions)
setOptions: function(options)
Change the map options
setRectPxBounds: function(pxBounds)
Set extent rectangle pixel bounds.
setRequestHeaders: function()
setRicoCorners:function()
Update RICO corners according to the popup’s current relative postion.
setSize: function(size)
setSize:function(contentSize)
Used to adjust the size of the popup.
setSize:function(contentSize)
setSize:function(contentSize)
setSize:function(contentSize)
Overridden here, because we need to update the blocks whenever the size of the popup has changed.
setSize: function(size)
Sets the size of the drawing surface.
setSize: function(size)
Sets the size of the drawing surface.
setSize: function(size)
Sets the size of the drawing surface.
setSize: function(size)
Set the size of the drawing surface
setSource: function(layer)
Set the source layer for edits layer.
setState: function(feature,
node)
OpenStreetMap has a convention that ‘state’ is stored for modification or deletion.
setStyle: function(node,
style,
options)
Use to set all the style attributes to a SVG node.
setStyle: function(node,
style,
options,
geometry)
Use to set all the style attributes to a VML node.
setTargets: function(targets)
Set the targets for the snapping agent.
setTileSize: function(size)
Set the tile size based on the map size.
setTileSize: function(size)
Check if we are in singleTile mode and if so, set the size as a ratio of the map size (as specified by the layer’s ‘ratio’ property).
setUrl: function(url)
setUrl:function(url)
Change the URL and reload the GML
setUrl: function(newUrl)
setUrl: function(newUrl)
setUrl: function(url)
Change URL of the Icon Image.
setVisibility: function(visibility)
Set the visibility flag for the layer and hide/show & redraw accordingly.
setVisibility: function(visibility,
noEvent)
Set the visibility flag for the layer and hide/show&redraw accordingly.
setZIndex: function (zIndex)
setZIndex: function (zIndex)
Set the z-index order for the pane.
shiftColumn: function(prepend)
Shift grid work in the other dimension
shiftRow:function(prepend)
Shifty grid work
shouldCluster: function(cluster,
feature)
Determine whether to include a feature in a given cluster.
show: function()
Show element(s) passed in
show: function()
Makes the popup visible.
show: function()
Overridden from Popup since user might hide popup and then show() it in a new location (meaning we might want to update the relative position on the show)
show: function()
Show the tile.
show: function()
Show the tile by showing its frame.
showControls: function(minimize)
Hide/Show all LayerSwitcher controls depending on whether we are minimized or not
showTile: function()
Show the tile only if it should be drawn.
showToggle: function(minimize)
Hide/Show the toggle depending on whether the control is minimized
{Integer} Number of sides for the regular polygon.
{Boolean} Handle single clicks.
{Object} Hashtable of default parameter key/value pairs for untiled layer
{Boolean} True if there is only 1 featureType, and not an array of featuretypes.
{Boolean} Moves the layer into single-tile mode, meaning that one tile will be loaded.
{Boolean} use tile server or request single tile image.
{singleTile} Always true for untiled.
{singleTile} Always true for untiled.
{OpenLayers.Size} The overvew map size in pixels.
{OpenLayers.Size}
{OpenLayers.Size} The image size in pixels
{OpenLayers.Size} Size of the main div (this.div)
{OpenLayers.Size} the width and height of the popup.
{OpenLayers.Size}
{OpenLayers.Size} null
Create an instance of OpenLayers.Size
Create a new parser for SLD.
Pixels to slide by.
{Integer} Number of pixels by which we’ll pan the map in any direction on clicking the arrow buttons.
{Integer} Number of pixels by which we’ll pan the map in any direction on clicking the arrow buttons.
{Number} The fraction of map width/height by which we’ll pan the map on clicking the arrow buttons.
{OpenLayers.Events}
{Boolean} smoothDragPan determines whether non-public/internal API methods are used for better performance while dragging EventPane layers.
{Float} If set to a non-zero value, the handler will snap the polygon rotation to multiples of the snapAngle.
Creates a new snapping control.
{String} If set, snapToggle is checked on mouse events and will set the snap mode to the opposite of what it currently is.
{OpenLayers.Layer.Vector} Optional source layer.
{OpenLayers.Filter} Optional filter that will be evaluated to determine if a feature from the target layer is eligible for splitting.
{Options} If a temporary sketch layer is created, these layer options will be applied.
{String} For “pretty” printing, the space string will be used after the “:” separating a name/value pair.
Creates a spatial filter.
Whether the tile extents should be set to the defaults for spherical mercator.
{Boolean} Should the map act as a mercator-projected map? 
{Boolean} Should the map act as a mercator-projected map? 
{Boolean} Should the map act as a mercator-projected map? 
spiralTileLoad: function()
Starts at the top right corner of the grid and proceeds in a spiral towards the center, adding tiles one at a time to the beginning of a queue.
split: function(target,
options)
Use this geometry (the source) to attempt to split a target geometry.
split: function(geometry,
options)
Use this geometry (the source) to attempt to split a target geometry.
Creates a new split control.
splitWith: function(geometry,
options)
Split this geometry (the target) with the given geometry (the source).
splitWith: function(geometry,
options)
Split this geometry (the target) with the given geometry (the source).
splitWithSegment: function(seg,
options)
Split this geometry with the given segment.
{String} URI for spatial reference system.
{String} URI for spatial reference system.
{String} Name of spatial reference system.
{OpenLayers.Pixel} The first pixel location of the drag.
start: function(begin,
finish,
duration,
options)
Plays the Tween, and calls the callback method on each step
startBox: function (xy)
{Boolean} When a mousedown event is received, we want to record it, but not set ‘dragging’ until the mouse moves after starting.
startsWith: function(str,
sub)
Test whether a string starts with another string.
Deprecated.
startTransition: function()
This method is invoked on tiles that are backBuffers for tiles in the grid.
{String}
{Object} Maps feature states to node names.
{Integer}
{String}
stop: function(event,
allowDefault)
Stops an event from propagating.
stop: function()
Stops the Tween, and calls the done callback Doesn’t do anything if animation is already finished
{Boolean} If stopClick is set to true, handled clicks do not propagate to other click listeners.
{Boolean} Stop other listeners from being notified of double-clicks.
{Boolean} Stop propagation of mousedown events from getting to listeners on the same element.
{Boolean} If stopDown is set to true, handled mousedowns do not propagate to other mousedown listeners.
stopObserving: function(elementParam,
name,
observer,
useCapture)
stopObservingElement: function(elementParam)
Given the id of an element to stop observing, cycle through the element’s cached observers, calling stopObserving on each one, skipping those entries which can no longer be removed.
{Boolean} Stop other listeners from being notified of clicks.
{Boolean} If stopUp is set to true, handled mouseups do not propagate to other mouseup listeners.
{Array(OpenLayers.Strategy})} Optional list of strategies for the layer.
Abstract class for vector strategies.
Transform a string into a JSON string.
{Object}
OpenLayers features can have a number of style attributes.
{Object} Default style for the layer
Creates a UserStyle.
{String}
{OpenLayers.StyleMap}
{Object} Storage of style objects
Hash of {OpenLayers.Style}, keyed by names of well known rendering intents (e.g.
success: function()
{Boolean} -
success: function()
{String}
supported: function()
This should be overridden by specific subclasses
supported: function()
Determine whether a browser supports Gears
supported: function()
This should be overridden by specific subclasses
supported: function()
{Boolean} Whether or not the browser supports the renderer class
supported: function()
{Boolean} Whether or not the browser supports the SVG renderer
supported: function()
Determine whether a browser supports this renderer.
{Array} An immutable (that means don’t change it!)
{Boolean} Write gml:Surface instead of gml:Polygon elements.
switchModeTo: function(mode)
Coordinate arrays for well known (named) symbols.
{DOMElement} node holding symbols.
{Object} Symbolizer or hash of symbolizers for this rule.
{Array} prefixes of the sld symbolizers.
{Object} Cache for symbol sizes according to their svg coordinate space
Close