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