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
 saveFeatureState, OpenLayers. Protocol. SQL. Gears
 scale, OpenLayers. Bounds
 Scale, OpenLayers. Control. Scale. OpenLayers. Control
 ScaleLine, OpenLayers. Control. ScaleLine. OpenLayers
 scales, OpenLayers. Layer
 schemaLocation
 scope, OpenLayers. Protocol.HTTP
 segmentsIntersect, OpenLayers. Geometry. OpenLayers. Geometry
 select, OpenLayers. Control. SelectFeature
 selectBox, OpenLayers. Control. SelectFeature
 selectControl, OpenLayers. Control. ModifyFeature
 selectedFeature
 selectedFeatures, OpenLayers. Layer. Vector
 selectFeature, OpenLayers. Control. ModifyFeature
 SelectFeature>, OpenLayers. Control. SelectFeature.<OpenLayers. Control
 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
 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
 setIsBaseLayer, OpenLayers. Layer
 setLayer, OpenLayers. Strategy
 setLayerIndex, OpenLayers.Map
 setLayerZIndex, OpenLayers.Map
 setListeners, OpenLayers. Control. NavigationHistory
 setMap
 setMapObjectCenter
 setMapType, OpenLayers. Layer. Google
 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
 setState, OpenLayers. Format.OSM
 setStyle
 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
 singleTile
 size
 Size, OpenLayers. Size. OpenLayers
 SLD, OpenLayers. Format. SLD. OpenLayers. Format
 slideFactor
 slider, OpenLayers. Control. PanZoomBar
 sliderEvents, OpenLayers. Control. PanZoomBar
 smoothDragPan, OpenLayers. Layer. EventPane
 snapAngle, OpenLayers. Handler. RegularPolygon
 snapToggle, OpenLayers. Handler. RegularPolygon
 space, OpenLayers. Format.JSON
 Spatial, OpenLayers. Filter. Spatial. OpenLayers. Filter
 sphericalMercator
 spiralTileLoad, OpenLayers. Layer.Grid
 SQL, OpenLayers. Protocol. SQL. OpenLayers. Protocol
 srsName, OpenLayers. Format. GML.Base
 start
 startBox, OpenLayers. Handler.Box
 started, OpenLayers. Handler.Drag
 startsWith
 startTransition, OpenLayers. Tile. Image
 state, OpenLayers. Feature. Vector
 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
 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.
{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} Schema location for a particular minor version.
{String} http://www.opengis.net/ogc/filter/1.0.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} 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
{Object} Callback execution scope, read-only, set through the options passed to the constructor.
OpenLayers.Geometry.segmentsIntersect = function(seg1,
seg2,
point)
Determine whether two line segments intersect.
select: function(feature)
Add feature to the layer’s selectedFeature array, render the feature as selected, and call the onSelect function.
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(object)
Called when the select feature control selects a feature.
{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.
{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.
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)
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
setIsBaseLayer: function(isBaseLayer)
setLayer: function(layer)
Called to set the layer property.
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.
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)
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)
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)
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)
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.
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)
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
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.
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} 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.
{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.
{String} If set, snapToggle is checked on mouse events and will set the snap mode to the opposite of what it currently is.
{String} For “pretty” printing, the space string will be used after the “:” separating a name/value pair.
Creates a spatial filter.
{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.
{String} URI for 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}
{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.
{Boolean} Stop other listeners from being notified on mousemoves.
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!)
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