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. | |
passesDblclickTolerance, ALKMaps. | |
passesTolerance | |
passEventToSlider, ALKMaps. | |
pinchDone, ALKMaps. | |
pinchMove, ALKMaps. | |
pinchStart, ALKMaps. | |
point | |
poiRadiusSearch, ALKMaps. | |
polygon | |
positionTile, ALKMaps. | |
postDerivedRoutePath, ALKMaps. | |
postDerivedRouteReports, ALKMaps. | |
postRailRoutePath, ALKMaps. | |
postReports, ALKMaps. | |
postRoutePath, ALKMaps. | |
postRoutePathRaw, ALKMaps. | |
preFeatureInsert, ALKMaps. | |
previousTrigger, 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 totally 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 )
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 )
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 )
Determine whether the event is within the optional double-click 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 )
Gets points of interest within a specified radius of a given point.
services.poiRadiusSearch = function ( params )
Using the properties currently set on the layer, position the tile correctly.
positionTile: function()
Retrieve a list of reduce trip coordinates in GeoJson format based on a series of longitudes/latitude pings and off route mileages window.
services.postDerivedRoutePath = function ( inputs )
The postDerivedRouteReports operation will return either mileage or detail report for the reduced trip based upon a series of latitude/longitudes pings.
services.postDerivedRouteReports = function ( inputs )
Takes stops objects and route options, return lat/lons in geo json.
services.postRailRoutePath = function ( params )
Takes coords objects and report options, return total time and total distance synchronously.
services.postReports = function ( inputs )
Takes coords objects and route options, return lat/lons for the route path.
services.postRoutePath = function ( inputs )
Same as services.postRoutePath function.
services.postRoutePathRaw = function ( inputs )
method called before a feature is inserted.
preFeatureInsert: function( feature )
Restore the previous state.
previousTrigger: function()
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 )