Update OpenLayers.Bounds.containsLonLat input type
'll' parameter can now be either a OpenLayers.LonLat instance or a simple javascript object with a 'lon' and 'lat' properties.
This commit is contained in:
@@ -176,7 +176,8 @@ OpenLayers.Geometry = OpenLayers.Class({
|
||||
* geometry.
|
||||
*
|
||||
* Parameters:
|
||||
* lonlat - {<OpenLayers.LonLat>}
|
||||
* lonlat - {<OpenLayers.LonLat>|Object} OpenLayers.LonLat or an
|
||||
* object with a 'lon' and 'lat' properties.
|
||||
* toleranceLon - {float} Optional tolerance in Geometric Coords
|
||||
* toleranceLat - {float} Optional tolerance in Geographic Coords
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user