Don't crop against TileGrid extent in TileGrid

This commit is contained in:
Tom Payne
2012-07-07 12:54:14 +02:00
committed by Tom Payne
parent fe38bb694b
commit e63f7d166f

View File

@@ -149,9 +149,6 @@ ol.TileGrid.prototype.getTileBounds = function(z, extent) {
* @return {ol.TileCoord} Tile coordinate.
*/
ol.TileGrid.prototype.getTileCoord = function(z, coordinate) {
if (!this.extent_.contains(coordinate)) {
return null;
}
var corner = this.corner_;
var origin = this.getOrigin(z);
var resolution = this.getResolution(z);