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
T
 time, OpenLayers. Console
 timeEnd, OpenLayers. Console
 toArray, OpenLayers. Bounds
 toBBOX, OpenLayers. Bounds
 toggle
 toShortString
 toState, OpenLayers. Feature. Vector
 toString
 trace, OpenLayers. Console
 trigger, OpenLayers. Control. ZoomToMaxExtent
 triggerEvent, OpenLayers. Events
 trim
 Try, Util
U
 unloadCache, OpenLayers. Event
 unloadDestroy, OpenLayers.Map
 unregister
 unselect, OpenLayers. Control. SelectFeature
 unselectFeature, OpenLayers. Control. ModifyFeature
 up
 update
 updateAttribution, OpenLayers. Control. Attribution
 updateLink, OpenLayers. Control. Permalink
 updateMap, OpenLayers. Control. LayerSwitcher
 updateMapToRect, OpenLayers. Control. OverviewMap
 updatePosition, OpenLayers. Popup
 updateRectToMap, OpenLayers. Control. OverviewMap
 updateScale, OpenLayers. Control. Scale
 updateSize, OpenLayers.Map
 upFeature, OpenLayers. Control. DragFeature
 upperCaseObject, Util
V
 visible
W
 warn, OpenLayers. Console
 wheelChange, OpenLayers. Control. Navigation
 wheelDown, OpenLayers. Control. Navigation
 wheelUp, OpenLayers. Control. Navigation
 wrapDateLine
 write
 writeIndent, OpenLayers. Format.JSON
 writeNewline, OpenLayers. Format.JSON
 writeSpace, OpenLayers. Format.JSON
Z
 zoomBarDown, OpenLayers. Control. PanZoomBar
 zoomBarDrag, OpenLayers. Control. PanZoomBar
 zoomBarUp, OpenLayers. Control. PanZoomBar
 zoomBox, OpenLayers. Control. ZoomBox
 zoomBoxEnd, OpenLayers. Control. MouseDefaults
 zoomIn, OpenLayers.Map
 zoomOut, OpenLayers.Map
 zoomTo, OpenLayers.Map
 zoomToExtent, OpenLayers.Map
 zoomToMaxExtent, OpenLayers.Map
 zoomToScale, OpenLayers.Map
time: function()
Creates a new timer under the given name.
timeEnd: function()
Stops a timer created by a call to OpenLayers.Console.time(name) and writes the time elapsed.
toArray: function()
{Array} array of left, bottom, right, top
toBBOX:function(decimal)
toggle: function()
Toggle the visibility of element(s) passed in
toggle: function()
Toggles visibility of the popup.
toShortString: function()
{String} Shortened String representation of Point object.
toShortString:function()
{String} Shortened String representation of OpenLayers.LonLat object.
toState: function(state)
Sets the new state
toString:function()
{String} String representation of bounds object.
toString: function()
Returns the Well-Known Text representation of a geometry
toString:function()
Return a readable string version of the lonlat
toString:function()
Cast this object into a string
toString:function()
Return the string representation of a size object
trace: function()
Prints an interactive stack trace of JavaScript execution at the point where it is called.
trigger: function()
Do the zoom.
triggerEvent: function (type,
evt)
Trigger a specified registered event
Removes leading and trailing whitespace characters from a string.
Deprecated.
OpenLayers.Util.Try = function()
Execute functions until one of them doesn’t throw an error.
unloadCache: function()
Cycle through all the element entries in the events cache and call stopObservingElement on each.
Function that is called to destroy the map on page unload.
unregister: function (type,
obj,
func)
unregister: function (name,
method)
unregister an event from the map
unselect: function(feature)
Remove feature from the layer’s selectedFeature array, render the feature as normal, and call the onUnselect function.
unselectFeature: function(feature)
Called when the select feature control unselects a feature.
up: function(evt)
This method is called during the handling of the mouse up event.
up: function(evt)
Finish drawing the feature
update: function()
Update the overview map after layers move.
update: function(feature)
Takes a feature, and generates a WFS-T Transaction “Update”
updateAttribution: function()
Update attribution string.
updateLink: function()
updateMap: function()
Cycles through the loaded data and base layer input arrays and makes the necessary calls to the Map object such that that the map’s visual state corresponds to what the user has selected in the control.
updateMapToRect: function()
Updates the map extent to match the extent rectangle position and size
updatePosition: function()
if the popup has a lonlat and its map members set, then have it move itself to its proper position
updateRectToMap: function()
Updates the extent rectangle position and size to match the map extent
updateScale: function()
updateSize: function()
This function should be called by any external code which dynamically changes the size of the map div (because mozilla wont let us catch the “onresize” for an element)
upFeature: function(pixel)
Called when the drag handler detects a mouse-up.
OpenLayers.Util.upperCaseObject = function (object)
Creates a new hashtable and copies over all the keys from the passed-in object, but storing them under an uppercased version of the key at which they were stored.
visible: function(element)
visible: function()
{Boolean} Boolean indicating whether or not the popup is visible
warn: function()
Writes a message to the console with the visual “warning” icon and color coding and a hyperlink to the line where it was called.
wheelChange: function(evt,
deltaZ)
wheelDown: function(evt)
User spun scroll wheel down
wheelUp: function(evt)
User spun scroll wheel up
wrapDateLine: function(maxExtent,
options)
wrapDateLine: function(maxExtent)
write: function(object)
Accept an object, and return a string.
write: function(obj,
pretty)
Serialize a feature, geometry, array of features, or array of geometries into a GeoJSON string.
write: function(features)
Accept Feature Collection, and return a string.
write: function(features)
Generate a GML document string given a list of features.
write: function(value,
pretty)
Serialize an object into a JSON string.
write: function(features)
Accept Feature Collection, and return a string.
write: function(features)
Takes a feature list, and generates a WFS-T Transaction
write: function(features)
Serialize a feature or array of features into a WKT string.
write: function(node)
Serialize a DOM node into a XML string.
writeIndent: function()
Output an indentation string depending on the indentation level.
writeNewline: function()
Output a string representing a newline if in pretty printing mode.
writeSpace: function()
Output a string representing a space if in pretty printing mode.
zoomBarDown:function(evt)
event listener for clicks on the slider
zoomBarDrag:function(evt)
This is what happens when a click has occurred, and the client is dragging.
zoomBarUp:function(evt)
Perform cleanup when a mouseup event is received -- discover new zoom level and switch to it.
zoomBox: function (position)
zoomBoxEnd: function(evt)
Zoombox function.
zoomIn: function()
zoomOut: function()
zoomTo: function(zoom)
Zoom to a specific zoom level
zoomToExtent: function(bounds)
Zoom to the passed in bounds, recenter
zoomToMaxExtent: function()
Zoom to the full extent and recenter.
zoomToScale: function(scale)
Zoom to a specified scale