Skip to content
This repository has been archived by the owner on Aug 11, 2022. It is now read-only.

Allmaps Tile Server crashes because zoomLevel is undefined #1

Open
bertspaan opened this issue Dec 1, 2021 · 0 comments
Open

Allmaps Tile Server crashes because zoomLevel is undefined #1

bertspaan opened this issue Dec 1, 2021 · 0 comments

Comments

@bertspaan
Copy link
Member

Allmaps Tile Server crashes, zoomLevel is undefined:

Allmaps Tile Server listening at http://localhost:3000
file:///workspace/node_modules/@allmaps/render/src/tiles.js:110
      point[0] / zoomLevel.originalWidth,
                           ^

TypeError: Cannot read properties of undefined (reading 'originalWidth')
    at file:///workspace/node_modules/@allmaps/render/src/tiles.js:110:28
    at Array.map (<anonymous>)
    at scaleToTiles (file:///workspace/node_modules/@allmaps/render/src/tiles.js:109:6)
    at iiifTilesForMapExtent (file:///workspace/node_modules/@allmaps/render/src/tiles.js:181:27)
    at file:///workspace/src/index.js:139:21
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant