Skip to content

Commit

Permalink
a
Browse files Browse the repository at this point in the history
  • Loading branch information
juliangiebel committed Sep 19, 2024
1 parent c88326d commit e6ded00
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions js/MapLoader.js
Original file line number Diff line number Diff line change
Expand Up @@ -166,11 +166,11 @@ class MapLoader {

if (gridLayer.tiled) {
mapLayer = new TileLayer({
//className: 'map',
extent: [extent.a.x, extent.a.y, extent.b.x, extent.b.y],
updateWhileInteracting: true,
updateWhileAnimating: true,
source: new XYZ({
attributions: data.attributions,
tileLoadFunction: TileImagePreloader.load,
url: "https://" + gridLayer.url.replace(/https?:\/\//, "") + "/{x}/{y}/{z}",
tileGrid: new TileGrid({
extent: [extent.a.x, extent.a.y, extent.b.x, extent.b.y],
Expand Down

0 comments on commit e6ded00

Please sign in to comment.