EMS.RankedPoint

Response wrapper for a ranked point.  This is an extenion of OpenLayers.LonLat with some extra data.  This is done so that the point maybe simply used as a OpenLayers.LonLat.

Inherits from

Summary
EMS.RankedPointResponse wrapper for a ranked point.
Properties
distance{Float} Distance in metres from the start point.
duration{Integer} Travel duration in seconds.
Constructor
EMS.RankedPoint
Functions
clone{EMS.RankedPoint} Returns a clone of this point.
equals

Properties

distance

{Float} Distance in metres from the start point.

duration

{Integer} Travel duration in seconds.

Constructor

EMS.RankedPoint

Parameters

point{Mixed} is either an EMS.RankedPoint to copy or just a plain {Object}.

Functions

clone

clone: function()

Returns

{EMS.RankedPoint} Returns a clone of this point.

equals

equals: function(point)

Parameters

point{Mixed} is either an EMS.RankedPoint or plain {Object} to test for equality.

Returns

{Boolean} If the input point equals this point.

clone: function()
{EMS.RankedPoint} Returns a clone of this point.
equals: function(point)
This class represents a longitude and latitude pair
Close