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
S
 safeScroll, ALKMaps.Map
 save, ALKMaps.Strategy.Save
 scale, ALKMaps.Bounds
 segmentsIntersect, ALKMaps.Geometry.ALKMaps.Geometry
 select
 selectBestFeature, ALKMaps.Control.GetFeature
 selectBox
 selectClick, ALKMaps.Control.GetFeature
 selectFeature, ALKMaps.Control.ModifyFeature
 selectHover, ALKMaps.Control.GetFeature
 selectUrl, ALKMaps.Layer.HTTPRequest
 serializeXMLToString, ALKMaps.Ajax.Response
 setAttributeNS, ALKMaps.Format.XML
 setAttributes, ALKMaps.Format.XML
 setBackgroundColor
 setBaseLayer, ALKMaps.Map
 setBorder
 setBounds
 setCanvasStyle, ALKMaps.Renderer.Canvas
 setCenter
 setCode, ALKMaps.Lang
 setContentHTML, ALKMaps.Popup
 setDefaultStyle, ALKMaps.Style
 setDraggable, ALKMaps.Layer.Routing
 setEvent, ALKMaps.Handler
 setExtent
 setFeature, ALKMaps.Control.TransformFeature
 setFeatureState, ALKMaps.Control.ModifyFeature
 setFilter, ALKMaps.Strategy.Filter
 setHitContextStyle, ALKMaps.Renderer.Canvas
 setImgSrc, ALKMaps.Tile.Image
 setImmediate, ALKMaps.Control.Measure
 setIsBaseLayer, ALKMaps.Layer
 setLabel, ALKMaps.Marker
 setLabelVisibility, ALKMaps.Marker
 setLayer
 setLayerIndex, ALKMaps.Map
 setLayerZIndex, ALKMaps.Map
 setListeners, ALKMaps.Control.NavigationHistory
 setMap
 setMaxFeatures, ALKMaps.Layer.PointGrid
 setModifiers, ALKMaps.Control.GetFeature
 setName, ALKMaps.Layer
 setNamespace, ALKMaps.Format.XML
 setNodeDimension, ALKMaps.Renderer.VML
 setOpacity
 setOptions
 setOrigin, ALKMaps.Layer.PointGrid
 setRatio, ALKMaps.Layer.PointGrid
 setRectPxBounds, ALKMaps.Control.OverviewMap
 setRequestHeaders, ALKMaps.Ajax.Request
 setRotation, ALKMaps.Layer.PointGrid
 setRouteHandle, ALKMaps.Layer.Routing
 setRouteHandleVisibility, ALKMaps.Layer.Routing
 setSize
 setSource, ALKMaps.Control.Split
 setSpacing, ALKMaps.Layer.PointGrid
 setStyle
 setTargets, ALKMaps.Control.Snapping
 setTileSize
 setUrl
 setVisibility
 setZIndex, ALKMaps.Layer
 shiftColumn, ALKMaps.Layer.Grid
 shiftRow, ALKMaps.Layer.Grid
 shouldCluster, ALKMaps.Strategy.Cluster
 shouldDraw, ALKMaps.Tile
 show
 showControls, ALKMaps.Control.LayerSwitcher
 showLoading, ALKMaps.Map
 showMapLoadingIcon, ALKMaps.Map
 showToggle, ALKMaps.Control.OverviewMap
 simpleGeocode, ALKMaps.Geocoder
 simplify, ALKMaps.Geometry.LineString
 split
 splitWith
 splitWithSegment, ALKMaps.Geometry.LineString
 start
 startBox, ALKMaps.Handler.Box
 startsWith, ALKMaps.String
 stop
 stopObserving, ALKMaps.Event
 stopObservingElement, ALKMaps.Event
 string, ALKMaps.Format.JSON.serialize
 success
 supported
safeScroll: function()
save: function(features)
Tell the layer protocol to commit unsaved features.
scale: function(ratio,
origin)
Scales the bounds around a pixel or lonlat.
ALKMaps.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 and featuresselected events.
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.
selectClick: function(evt)
Called on click
selectFeature: function(feature)
Select a feature for modification in standalone mode.
selectHover: function(evt)
Callback from the handlers.hover set up when hover selection is on
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.
ALKMaps.Ajax.serializeXMLToString = function(xmldom)
Wrapper function around XMLSerializer, which doesn’t exist/work in IE/Safari.
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.
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()
setBounds: function(bounds)
Set the bounds for this Geometry.
setBounds: function(bounds)
Sets the bounds on this instance
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.
setDraggable: function(isDraggable)
Sets the layer’s ability to have routes be modified by dragging.
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()
Set the visible part of the layer.
setExtent: function(extent,
resolutionChanged)
Set the visible part of the layer.
setExtent: function(extent,
resolutionChanged)
setExtent: function(extent,
resolutionChanged)
Set the renderer’s extent
setFeature: function(feature,
initialParams)
Place the transformation box on a feature and start transforming it.
setFeatureState: function()
Called when the feature is modified.
setFilter: function(filter)
Update the filter for this strategy.
setHitContextStyle: function(type,
featureId,
symbolizer,
strokeScaling)
Prepare the hit canvas for drawing by setting various global settings.
setImgSrc: function(url)
Sets the source for the tile image
setImmediate: function(immediate)
Sets the immediate property.
setIsBaseLayer: function(isBaseLayer)
setLabel: function (label)
Set new label
setLabelVisibility: function (visibility)
Toggle label visibility
setLayer: function(layers)
Attach a new layer to the control, overriding any existing layers.
setLayer: function(layer)
Set the editable layer.
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 and all handlers.
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)
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(map)
Set the map property for the control and previous and next child controls.
setMap: function(map)
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)
setMap: function(map)
Set the map property for the layer.
setMap: function()
setMap: function(map)
setMap: function(map)
Forces this layer having the same projection as the map.
setMap: function(map)
setMap: function(map)
setMap: function(map)
The layer has been added to the map.
setMap: function()
The layer has been added to the map.
setMap: function(map)
The layer has been added to the 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.)
setMaxFeatures: function(maxFeatures)
Set the grid maxFeatures property and update the grid.
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)
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.
setOptions: function (newOptions)
setOptions: function(options)
Change the map options
setOrigin: function(origin)
Set the grid origin property and update the grid.
setRatio: function(ratio)
Set the grid ratio property and update the grid.
setRectPxBounds: function(pxBounds)
Set extent rectangle pixel bounds.
setRequestHeaders: function()
setRotation: function(rotation)
Set the grid rotation property and update the grid.
setRouteHandle: function(routeId,
stop,
handleOptions)
Sets the style of the route handles by type or index.
setRouteHandleVisibility: function(routeId,
showHandles)
Sets the visibility of all stop markers and the showHandles option of the route.
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.
setSpacing: function(dx,
dy)
Set the grid dx and dy properties and update the grid.
setStyle: function(node,
style,
options)
Use to set all the style attributes to a SVG node.
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(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)
Change layer visibility.
setZIndex: function (zIndex)
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.
shouldDraw: function()
Return whether or not the tile should actually be (re-)drawn.
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)
showControls: function(minimize)
Hide/Show all LayerSwitcher controls depending on whether we are minimized or not
showLoading: function(evt)
showMapLoadingIcon: function(id,
imgURL,
className)
showToggle: function(minimize)
Hide/Show the toggle depending on whether the control is minimized
ALKMaps.Geocoder.simpleGeocode = function (inputs)
This function takes address object, returns address arrays with longitudes and latitudes.
simplify: function(tolerance)
This function will return a simplified LineString.
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.
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.
function start(callback,
duration,
element)
Executes a method with requestFrame in series for some duration.
start: function()
Start the refresh interval.
start: function(begin,
finish,
duration,
options)
Plays the Tween, and calls the callback method on each step
startBox: function (xy)
startsWith: function(str,
sub)
Test whether a string starts with another string.
function stop(id)
Terminates an animation loop started with start.
stop: function(event,
allowDefault)
Stops an event from propagating.
stop: function()
Cancels the refresh interval.
stop: function()
Stops the Tween, and calls the done callback Doesn’t do anything if animation is already finished
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.
success: function()
{Boolean} -
success: function()
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()
{Boolean} Whether or not the browser supports the SVG renderer
supported: function()
Determine whether a browser supports this renderer.
Close