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
 Scale, OpenLayers. Control. Scale. OpenLayers. Control
 scales, OpenLayers. Layer
 select
 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
 serializeXMLToString, OpenLayers. Ajax. Request
 serviceVersion, OpenLayers. Layer.TMS
 setBackgroundColor
 setBaseLayer, OpenLayers.Map
 setBorder
 setCenter
 setContentHTML, OpenLayers. Popup
 setEvent, OpenLayers. Handler
 setExtent
 setIsBaseLayer, OpenLayers. Layer
 setLayerIndex, OpenLayers.Map
 setLayerZIndex, OpenLayers.Map
 setMap
 setMapObjectCenter
 setMapType, OpenLayers. Layer. Google
 setName, OpenLayers. Layer
 setNodeDimension, OpenLayers. Renderer.VML
 setOpacity
 setOptions
 setRectPxBounds, OpenLayers. Control. OverviewMap
 setRequestHeaders, OpenLayers. Ajax. Request
 setRicoCorners, OpenLayers. Popup. AnchoredBubble
 setSize
 setStyle
 setTileSize
 setUrl
 setVisibility
 setZIndex
 shiftColumn, OpenLayers. Layer.Grid
 shiftRow, OpenLayers. Layer.Grid
 show
 showControls, OpenLayers. Control. LayerSwitcher
 showToggle, OpenLayers. Control. OverviewMap
 sides, OpenLayers. Handler. RegularPolygon
 singleTile
 size
 Size, OpenLayers. Size. OpenLayers
 slideFactor
 slider, OpenLayers. Control. PanZoomBar
 sliderEvents, OpenLayers. Control. PanZoomBar
 snapAngle, OpenLayers. Handler. RegularPolygon
 snapToggle, OpenLayers. Handler. RegularPolygon
 space, OpenLayers. Format.JSON
 sphericalMercator
 spiralTileLoad, OpenLayers. Layer.Grid
 start, OpenLayers. Handler.Drag
 startBox, OpenLayers. Handler.Box
 started, OpenLayers. Handler.Drag
 startsWith
 state, OpenLayers. Feature. Vector
 stop, OpenLayers. Event
 stopObserving, OpenLayers. Event
 stopObservingElement, OpenLayers. Event
 string, OpenLayers. Format. JSON. serialize
 style
 suffix, OpenLayers. Control. MousePosition
 supported
 Surface, OpenLayers. Geometry. Surface. OpenLayers. Geometry
 SVN, OpenLayers. Renderer. SVG. OpenLayers. Renderer
 switchModeTo, OpenLayers. Control. MouseToolbar
OpenLayers.Util.safeStopPropagation = function(evt)
Deprecated.
{Array} An array of map scales in descending order.
select: function(feature)
Add feature to the layer’s selectedFeature array, render the feature as selected, and call the onSelect function.
select: function(type,
evt)
Trigger the appropriate callback if a feature is under the mouse.
{OpenLayers.Control.Select}
{OpenLayers.Feature}
{OpenLayers.Feature}
Array({OpenLayers.Feature.Vector})
selectFeature: function(feature)
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.
OpenLayers.Ajax.serializeXMLToString = function(xmldom)
Wrapper function around XMLSerializer, which doesn’t exist/work in IE/Safari.
{String}
setBackgroundColor:function(color)
Sets the background color of the popup.
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.
setCenter: function()
As soon as a baseLayer has been loaded, we center and zoom ...and remove the handler.
setCenter: function (lonlat,
zoom,
dragging,
forceZoomChange)
setContentHTML:function(contentHTML)
Allows the user to set the HTML content of the popup.
setEvent: function(evt)
With each registered browser event, the handler sets its own evt property.
setExtent: function(extent)
Set the visible part of the layer.
setExtent: function(extent)
setExtent: function(extent)
Set the renderer’s extent
setIsBaseLayer: function(isBaseLayer)
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)
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)
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.
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)
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)
OpenLayers.Util.setOpacity = function(element,
opacity)
Deprecated.
setOptions: function(options)
setOptions: function (newOptions)
setOptions: function(options)
Change the map options
setRectPxBounds: function(pxBounds)
Set extent rectangle pixel bounds.
setRequestHeaders: function()
setRicoCorners:function(firstTime)
Update RICO corners according to the popup’s current relative postion.
setSize: function(size)
setSize:function(size)
Used to adjust the size of the popup.
setSize:function(size)
setSize:function(size)
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
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(newUrl)
setUrl: function(newUrl)
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
show: function()
Show element(s) passed in
show: function()
Makes the popup visible.
showControls: function(minimize)
Hide/Show all LayerSwitcher controls depending on whether we are minimized or not
showToggle: function(minimize)
Hide/Show the toggle depending on whether the control is minimized
{Integer} Number of sides for the regular polygon.
{Boolean} Moves the layer into single-tile mode, meaning that one tile will be loaded.
{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
Pixels to slide by.
{Integer}
{OpenLayers.Events}
{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.
{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.
{OpenLayers.Pixel} The first pixel location of the drag.
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.
Test whether a string starts with another string.
Deprecated.
{String}
stop: function(event,
allowDefault)
Stops an event from propagating.
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.
Transform a string into a JSON string.
{Object}
OpenLayers features can have a number of style attributes.
{Object} Default style for the layer
{String}
supported: function()
This should be overridden by specific subclasses
supported: function()
{Boolean} Whether or not the browser supports the SVG renderer
supported: function()
Determine whether a browser supports this renderer.
switchModeTo: function(mode)