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

View File

@@ -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;
}
};