Use undefined, not null, found in parallel with @elemoine

This commit is contained in:
Tom Payne
2012-07-24 22:34:31 +02:00
parent 228547d0fe
commit 3ddb1137cc
+1 -1
View File
@@ -318,7 +318,7 @@ ol.Map.prototype.getCoordinateFromPixel = function(pixel) {
var y = center.y - resolution * (pixel.y - size.height / 2); var y = center.y - resolution * (pixel.y - size.height / 2);
return new ol.Coordinate(x, y); return new ol.Coordinate(x, y);
} else { } else {
return null; return undefined;
} }
}; };