tileserver-gl/src
Miko f02c63c94c
Fix broken light (invalid use of heavy dependencies) (#1449)
* fix broken light (invalid use of heavy dependencies)
- move elevation calculation to serve_rendered and stub in serve_light due to use of canvas and sharp
- elevation api is not available for light

* add elevatppy lint:js:fix

* remove not working isLight function

* apply lint:js:fix

* add isLight to data.tmpl

* add note of not available elevation api in light version

* hide elevation link in light version

* cleanup terrain and elevation template flags

---------

Co-authored-by: Miko <miko@none>
2025-01-17 18:51:35 -05:00
..
healthcheck.js Extract nested functions and simplify a little (#1062) 2023-11-23 10:11:53 -05:00
main.js Upgrade Express to v5 +Canvas v3 + code cleanup (#1429) 2025-01-10 19:34:17 -05:00
mbtiles_wrapper.js refactor: add promisified wrapper for MBTiles (#1321) 2024-08-28 11:52:07 -04:00
pmtiles_adapter.js fix(deps): Bump pmtiles from 2.11.0 to 3.0.0 (#1161) 2024-02-02 22:12:26 -05:00
promises.js fix: avoid synchronous calls where possible (#1320) 2024-07-31 08:51:56 -04:00
render.js Extract nested functions and simplify a little (#1062) 2023-11-23 10:11:53 -05:00
serve_data.js Fix broken light (invalid use of heavy dependencies) (#1449) 2025-01-17 18:51:35 -05:00
serve_font.js Upgrade Express to v5 +Canvas v3 + code cleanup (#1429) 2025-01-10 19:34:17 -05:00
serve_light.js Fix broken light (invalid use of heavy dependencies) (#1449) 2025-01-17 18:51:35 -05:00
serve_rendered.js Fix broken light (invalid use of heavy dependencies) (#1449) 2025-01-17 18:51:35 -05:00
serve_style.js Upgrade Express to v5 +Canvas v3 + code cleanup (#1429) 2025-01-10 19:34:17 -05:00
server.js Fix broken light (invalid use of heavy dependencies) (#1449) 2025-01-17 18:51:35 -05:00
utils.js Upgrade Express to v5 +Canvas v3 + code cleanup (#1429) 2025-01-10 19:34:17 -05:00