Use undefined, not null, found in parallel with @elemoine
This commit is contained in:
@@ -318,7 +318,7 @@ ol.Map.prototype.getCoordinateFromPixel = function(pixel) {
|
||||
var y = center.y - resolution * (pixel.y - size.height / 2);
|
||||
return new ol.Coordinate(x, y);
|
||||
} else {
|
||||
return null;
|
||||
return undefined;
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user