Add missing JSDoc tags
This commit is contained in:
@@ -16,6 +16,7 @@ ol.geom.flat.contains.linearRingContainsExtent = function(flatCoordinates, offse
|
||||
var outside = ol.extent.forEachCorner(extent,
|
||||
/**
|
||||
* @param {ol.Coordinate} coordinate Coordinate.
|
||||
* @return {boolean} Contains (x, y).
|
||||
*/
|
||||
function(coordinate) {
|
||||
return !ol.geom.flat.contains.linearRingContainsXY(flatCoordinates,
|
||||
|
||||
@@ -285,6 +285,7 @@ ol.interaction.Select.handleEvent = function(mapBrowserEvent) {
|
||||
/**
|
||||
* @param {ol.Feature|ol.render.Feature} feature Feature.
|
||||
* @param {ol.layer.Layer} layer Layer.
|
||||
* @return {boolean|undefined} Continue to iterate over the features.
|
||||
*/
|
||||
function(feature, layer) {
|
||||
if (this.filter_(feature, layer)) {
|
||||
|
||||
@@ -511,7 +511,7 @@ ol.source.Vector.prototype.forEachFeatureIntersectingExtent = function(extent, c
|
||||
return this.forEachFeatureInExtent(extent,
|
||||
/**
|
||||
* @param {ol.Feature} feature Feature.
|
||||
* @return {S|undefined}
|
||||
* @return {S|undefined} The return value from the last call to the callback.
|
||||
* @template S
|
||||
*/
|
||||
function(feature) {
|
||||
|
||||
Reference in New Issue
Block a user