Make tileCoordTransform configurable
Instead of using the static createOriginTopLeftTileCoordTransform function, the correct transform is now a non-API config option of the tile grid.
This commit is contained in:
+2
-1
@@ -6036,7 +6036,8 @@ olx.tilegrid;
|
||||
|
||||
|
||||
/**
|
||||
* @typedef {{extent: (ol.Extent|undefined),
|
||||
* @typedef {{createTileCoordTransform: (undefined|function({extent: (ol.Extent|undefined)}):function(ol.TileCoord, ol.proj.Projection, ol.TileCoord=):ol.TileCoord),
|
||||
* extent: (ol.Extent|undefined),
|
||||
* minZoom: (number|undefined),
|
||||
* origin: (ol.Coordinate|undefined),
|
||||
* origins: (Array.<ol.Coordinate>|undefined),
|
||||
|
||||
Reference in New Issue
Block a user