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.
| EMS. | Response wrapper for a ranked point. |
| Properties | |
| distance | {Float} Distance in metres from the start point. |
| duration | {Integer} Travel duration in seconds. |
| Constructor | |
| EMS. | |
| Functions | |
| clone | {EMS.RankedPoint} Returns a clone of this point. |
| equals |
| point | {Mixed} is either an EMS.RankedPoint to copy or just a plain {Object}. |
equals: function( point )
| point | {Mixed} is either an EMS.RankedPoint or plain {Object} to test for equality. |
{Boolean} If the input point equals this point.
{EMS.RankedPoint} Returns a clone of this point.
clone: function()
equals: function( point )