Improve type checking in ol.geom.flat
This commit is contained in:
1 parent
f4ab0cbac0
commit
2a47bf0775
1 file changed
+1
@@ -488,6 +488,7 @@ ol.geom.flat.linearRingsContainsXY =
|
||||
ol.geom.flat.linearRingsGetInteriorPoint =
|
||||
function(flatCoordinates, offset, ends, stride, y, opt_point) {
|
||||
var i, ii, x, x1, x2, y1, y2;
|
||||
/** @type {Array.<number>} */
|
||||
var intersections = [];
|
||||
// Calculate intersections with the horizontal line
|
||||
var end = ends[0];
|
||||
|
||||
Reference in new issue
Block a user