Merge pull request #3693 from tremby/contains-extent-doc
Fix ol.extent.containsExtent documentation
This commit is contained in:
+6
-3
@@ -164,12 +164,15 @@ ol.extent.containsCoordinate = function(extent, coordinate) {
|
|||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Check if one extent is contained by or on the edge of another.
|
* Check if one extent contains another.
|
||||||
|
*
|
||||||
|
* An extent is deemed contained if it lies completely within the other extent,
|
||||||
|
* including if they share one or more edges.
|
||||||
*
|
*
|
||||||
* @param {ol.Extent} extent1 Extent 1.
|
* @param {ol.Extent} extent1 Extent 1.
|
||||||
* @param {ol.Extent} extent2 Extent 2.
|
* @param {ol.Extent} extent2 Extent 2.
|
||||||
* @return {boolean} The first extent is contained by or on the edge of the
|
* @return {boolean} The second extent is contained by or on the edge of the
|
||||||
* second.
|
* first.
|
||||||
* @api stable
|
* @api stable
|
||||||
*/
|
*/
|
||||||
ol.extent.containsExtent = function(extent1, extent2) {
|
ol.extent.containsExtent = function(extent1, extent2) {
|
||||||
|
|||||||
Reference in New Issue
Block a user