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
P
 page, ALKMaps.Strategy.Paging
 pageCount, ALKMaps.Strategy.Paging
 pageLength, ALKMaps.Strategy.Paging
 pageNext, ALKMaps.Strategy.Paging
 pageNum, ALKMaps.Strategy.Paging
 pagePosition, Util
 pagePrevious, ALKMaps.Strategy.Paging
 pan, ALKMaps.Map
 panIntoView, ALKMaps.Popup
 panMap, ALKMaps.Control.DragPan
 panMapDone, ALKMaps.Control.DragPan
 panMapStart, ALKMaps.Control.DragPan
 panTo, ALKMaps.Map
 parse, ALKMaps.Date
 parseAttributes, ALKMaps.Format.KML
 parseData
 parseExtendedData, ALKMaps.Format.KML
 parseFeature
 parseFeatures
 parseGeometry, ALKMaps.Format.GeoJSON
 parseKmlColor, ALKMaps.Format.KML
 parseLinks, ALKMaps.Format.KML
 parseProperty, ALKMaps.Format.KML
 parseStyle, ALKMaps.Format.KML
 parseStyleMaps, ALKMaps.Format.KML
 parseStyles, ALKMaps.Format.KML
 parseXMLString, ALKMaps
 passesDblclickTolerance, ALKMaps.Handler.Click
 passesTolerance
 passEventToSlider, ALKMaps.Control.PanZoomBar
 pinchDone, ALKMaps.Control.PinchZoom
 pinchMove, ALKMaps.Control.PinchZoom
 pinchStart, ALKMaps.Control.PinchZoom
 pixelToBounds, ALKMaps.Control.GetFeature
 play, ALKMaps.Tween
 point
 polygon
 positionTile, ALKMaps.Tile.Image
 POST, ALKMaps.Request
 postDraw
 preFeatureInsert, ALKMaps.Layer.Vector
 preventDefault
 previousTrigger, ALKMaps.Control.NavigationHistory
 profile, ALKMaps.Console
 profileEnd, ALKMaps.Console
 PUT, ALKMaps.Request
Q
 queuePotentialClick, ALKMaps.Handler.Click
 queueTileDraw, ALKMaps.Layer.Grid
page: function(start,
event)
Display the page starting at the given index from the cache.
pageCount: function()
Get the total count of pages given the current cache of features.
pageLength: function(newLength)
Gets or sets page length.
pageNext: function(event)
Display the next page of features.
pageNum: function()
Get the zero based page number.
ALKMaps.Util.pagePosition = function (forElement)
Calculates the position of an element on the page
pagePrevious: function()
Display the previous page of features.
pan: function(dx,
dy,
options)
Allows user to pan by a value of screen pixels
panIntoView: function()
Pans the map such that the popup is totaly viewable (if necessary)
panMap: function(xy)
panMapDone: function(xy)
Finish the panning operation.
panMapStart: function()
panTo: function(lonlat)
Allows user to pan to a new lonlat If the new lonlat is in the current extent the map will slide smoothly
parse: function(str)
Generate a date object from a string.
parseAttributes: function(node)
parseData: function(data,
options)
Read data from a string, and return a list of features.
parseData: function(ajaxRequest)
Parse the data returned from the Events call.
parseData: function(ajaxRequest)
parseExtendedData: function(node)
Parse ExtendedData from KML.
parseFeature: function(obj)
Convert a feature object from GeoJSON into an ALKMaps.Feature.Vector.
parseFeature: function(node)
This function is the core of the KML parsing code in ALKMaps.
parseFeatures: function(nodes,
options)
Loop through all Placemark nodes and parse them.
parseFeatures: function(response)
Pasre response JSON object into vector features, using KML format as the transformation.
parseFeatures: function(request)
Read HTTP response body and return features.
parseFeatures: function(data)
Read Script response body and return features.
parseGeometry: function(obj)
Convert a geometry object from GeoJSON into an ALKMaps.Geometry.
parseKmlColor: function(kmlColor)
Parses a kml color (in ‘aabbggrr’ format) and returns the corresponding color and opacity or null if the color is invalid.
parseLinks: function(nodes,
options)
Finds URLs of linked KML documents and fetches them
parseProperty: function(xmlNode,
namespace,
tagName)
Convenience method to find a node and return its value
parseStyle: function(node)
Parses the children of a Style node and builds the style hash accordingly
parseStyleMaps: function(nodes,
options)
Looks for Style nodes in the data and parses them Also parses StyleMap nodes, but only uses the ‘normal’ key
parseStyles: function(nodes,
options)
Looks for Style nodes in the data and parses them Also parses StyleMap nodes, but only uses the ‘normal’ key
ALKMaps.parseXMLString = function(text)
Parse XML into a doc structure
passesDblclickTolerance: function(evt)
Determine whether the event is within the optional double-cick pixel tolerance.
passesTolerance: function(evt)
Determine whether the event is within the optional pixel tolerance.
passesTolerance: function(px)
Determine whether the mouse move is within the optional pixel tolerance.
passesTolerance: function(pixel1,
pixel2,
tolerance)
Determine whether the event is within the optional pixel tolerance.
passEventToSlider:function(evt)
This function is used to pass events that happen on the div, or the map, through to the slider, which then does its moving thing.
pinchDone: function(evt,
start,
last)
pinchMove: function(evt,
pinchData)
pinchStart: function(evt,
pinchData)
pixelToBounds: function(pixel)
Takes a pixel as argument and creates bounds after adding the clickTolerance.
play: function()
Calls the appropriate easing method
Return an array of coordinates from a point.
Convert a coordinate array from GeoJSON into an ALKMaps.Geometry.
Given an ALKMaps point geometry, create a KML point.
Given a KML node representing a point geometry, create an ALKMaps point geometry.
Return an array of linear ring arrays from a polygon.
Convert a coordinate array from GeoJSON into an ALKMaps.Geometry.
Given an ALKMaps polygon geometry, create a KML polygon.
Given a KML node representing a polygon geometry, create an ALKMaps polygon geometry.
positionTile: function()
Using the properties currenty set on the layer, position the tile correctly.
POST: function (config)
Send a POST request.
postDraw: function(node)
Things that have do be done after the geometry node is appended to its parent node.
postDraw: function(node)
preFeatureInsert: function(feature)
method called before a feature is inserted.
ALKMaps.Renderer.SVG.preventDefault = function(e)
Used to prevent default events (especially opening images in a new tab on ctrl-click) from being executed for externalGraphic symbols
ALKMaps.Renderer.SVG2.preventDefault = function(e)
Used to prevent default events (especially opening images in a new tab on ctrl-click) from being executed for externalGraphic and graphicName symbols
previousTrigger: function()
Restore the previous state.
profile: function()
Turns on the JavaScript profiler.
profileEnd: function()
Turns off the JavaScript profiler and prints its report.
PUT: function (config)
Send an HTTP PUT request.
queuePotentialClick: function(evt)
This method is separated out largely to make testing easier (so we don’t have to override window.setTimeout)
queueTileDraw: function(evt)
Adds a tile to the animation queue that will draw it.
Close