This commit is contained in:
Ivan Vazhenin
2022-08-31 17:42:18 +03:00
parent bd2ffd9641
commit 15684caed3

View File

@@ -282,10 +282,10 @@ class TileSource extends Source {
*/
getTileCacheForProjection(projection) {
const sourceProjection = this.getProjection();
assert(
sourceProjection === null || equivalent(sourceProjection, projection),
68 // A VectorTile source can only be rendered if it has a projection compatible with the view projection.
);
// assert(
// sourceProjection === null || equivalent(sourceProjection, projection),
// 68 // A VectorTile source can only be rendered if it has a projection compatible with the view projection.
// );
return this.tileCache;
}