Skip to content

Commit

Permalink
fix(tilegrid):512 oubli d'une occurence
Browse files Browse the repository at this point in the history
  • Loading branch information
elias75015 committed Mar 7, 2024
1 parent d07a043 commit 263f38d
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/OpenLayers/OlMapVectorTile.js
Original file line number Diff line number Diff line change
Expand Up @@ -1221,12 +1221,12 @@ OlMap.prototype._addMapBoxLayer = function (layerObj) {
// overlaps
// projection
format : vectorFormat,
tileGrid : olCreateXYZTileGrid({ // TODO scheme tms ?
extent : _glSource.bounds, // [minx, miny, maxx, maxy]
maxZoom : _glSource.maxzoom || 22,
minZoom : _glSource.minzoom || 1,
tileSize : _glSource.tileSize || 256
}),
// tileGrid : olCreateXYZTileGrid({ // TODO scheme tms ?
// extent : _glSource.bounds, // [minx, miny, maxx, maxy]
// maxZoom : _glSource.maxzoom || 22,
// minZoom : _glSource.minzoom || 1,
// tileSize : _glSource.tileSize || 256
// }),
urls : _glTiles
});
vectorSource._title = _title;
Expand Down

0 comments on commit 263f38d

Please sign in to comment.