OpenSpace Ordnance Survey Mapping API JavaScript Library Version 0.7.2 |
OpenSpace. MapPointThis class represents an eastings and northings pair of coordinates in British National Grid (BNG) format InheritsSummary
clone
Returns{OpenSpace.MapPoint} New OpenSpace.MapPoint object with the same eastings and northings values add
Parameters
Returns{OpenSpace.MapPoint} A new OpenSpace.MapPoint object with the rastings and northings passed-in values added to this’s. equals
Parameters
Returns{Boolean} Boolean value indicating whether the passed-in OpenSpace.MapPoint object has the same eastings and northings components as this. Note: if ll passed in is null, returns false |
{Float} The x-axis easting coodinate in metres
getEasting: function()
{Float} The y-axis northing coodinate in metres
getNorthing: function()
Return a readable string version of the map point
toString: function()
Return a readable string version of the map point
toCoordString: function()
{OpenSpace.MapPoint} New OpenSpace.MapPoint object with the same eastings and northings values
clone: function()
add: function( eastings, northings )
equals:function( ll )