OpenLayers JavaScript Mapping Library |
OpenLayers. Geometry. PointPoint geometry class. Inherits fromSummary
clone
Returns{OpenLayers.Geometry.Point} An exact clone of this OpenLayers.Geometry.Point equals
Parameters
Returns{Boolean} Boolean value indicating whether the passed-in {OpenLayers.Geometry} object has the same components as this note that if ll passed in is null, returns false rotate
Rotate a point around another. Parameters
resize
Resize a point relative to some origin. For points, this has the effect of scaling a vector (from the origin to the point). This method is more useful on geometry collection subclasses. Parameters
|
{OpenLayers.Geometry.Point} An exact clone of this OpenLayers.Geometry.Point
clone: function( obj )
Create a new Bounds based on the lon/lat
calculateBounds: function ()
distanceTo: function( point )
equals:function( geom )
{String} Shortened String representation of Point object.
toShortString: function()
Moves a point in place
move: function( x, y )
Rotate a point around another.
rotate: function( angle, origin )
Resize a point relative to some origin.
resize: function( scale, origin )