Commit graph

1329 commits

Author SHA1 Message Date
Miko
e1634d16b8 re-add baseurl, required bei maplibre-gl 2025-01-11 00:51:52 +01:00
Miko
450de42854 fix further rebase issues 2025-01-11 00:49:41 +01:00
Miko
6ad99a30b6 remove base url, re-add encoding based background-color 2025-01-11 00:20:22 +01:00
Miko
56dbeb2e8e fix rebase issues and update contour router to express5 2025-01-11 00:01:39 +01:00
Miko
c9e7f10034 disable debug log 2025-01-10 23:29:04 +01:00
Miko
904f3794a9 add elevation info 2025-01-10 23:27:06 +01:00
Miko
1bfeac2e01 add contour-label 2025-01-10 23:26:28 +01:00
Miko
43f86e9a66 add control for contour lines 2025-01-10 23:25:54 +01:00
acalcutt
d9d606b1f7 update levels 2025-01-10 23:25:16 +01:00
acalcutt
15a51acabb rename functions 2025-01-10 23:25:16 +01:00
acalcutt
07b6ccc536 remove unneeded pngjs 2025-01-10 23:25:16 +01:00
acalcutt
1961c24a69 change levels 2025-01-10 23:24:10 +01:00
acalcutt
2d90d8a27a add levels 2025-01-10 23:24:10 +01:00
acalcutt
d4c2ce1e4d get sharp image generation working 2025-01-10 23:23:12 +01:00
acalcutt
f7883a26ad test 4 2025-01-10 23:23:11 +01:00
acalcutt
5b753cafd1 partially working 2025-01-10 23:21:41 +01:00
acalcutt
b65ea0524f remove unuded metadata variable 2025-01-10 23:20:15 +01:00
acalcutt
088a5e8834 formatting 2025-01-10 23:20:15 +01:00
acalcutt
fb73f53861 Revert "test 3"
This reverts commit 0619a98d2b675a719f271ae64ecd5366898857fc.
2025-01-10 23:20:15 +01:00
acalcutt
cd4f162f27 test 3 2025-01-10 23:19:44 +01:00
acalcutt
b95a20791f test 2 2025-01-10 23:18:42 +01:00
acalcutt
a10555e2ee test 1 - not working 2025-01-10 23:18:36 +01:00
Miko
1f1fe49ec9 update readme for encoding option 2025-01-10 23:17:20 +01:00
Miko
4d33886f72 add map controls
Co-authored-by: Andrew Calcutt <acalcutt@techidiots.net>
2025-01-10 23:14:13 +01:00
Miko
02210f0bb8 add documentation for elevation api 2025-01-10 23:09:35 +01:00
Miko
8412c0842b add terrain preview and elevation link 2025-01-10 23:05:58 +01:00
acalcutt
03b1c31083 fix regex error 2025-01-10 15:27:24 -05:00
acalcutt
930e5719c7 make font regex less restrictive 2025-01-10 15:15:05 -05:00
acalcutt
5315123d96 Merge remote-tracking branch 'upstream/master' into express-5 2025-01-10 11:26:57 -05:00
Miko
4a783446cd
Fix Elevation API and extend Elevation Preview (#1432)
* add elevation info in preview

* fix various issues
- pmtile coordinates
- pixel calculation
- swapped lat / long
- allow tileSize to be configured
- allow any zoom for coordinates

* apply linter changes

* remove not used entry

* drop baseUrl in favor of public_url

* fix map not using full body

* remove bounds check for coordinates

---------

Co-authored-by: Miko <miko@none>
2025-01-10 10:51:17 -05:00
acalcutt
8f28789002 uprade canvas per https://github.com/maptiler/tileserver-gl/issues/1433 2025-01-10 10:43:54 -05:00
acalcutt
36cbcf714d use xy[0],xy[1], 2025-01-09 23:28:16 -05:00
acalcutt
941e283b81 move allowed functions to utils.js 2025-01-05 03:10:00 -05:00
acalcutt
097c0e1455 Revert "simplify input checking"
This reverts commit 62a3212629.
2025-01-05 02:46:42 -05:00
acalcutt
ecfcaeb1a5 Revert "Update utils.js"
This reverts commit 5de617dfe2.
2025-01-05 02:46:31 -05:00
acalcutt
aceb306f14 Revert "codeql"
This reverts commit e18874fda0.
2025-01-05 02:46:23 -05:00
acalcutt
e18874fda0 codeql 2025-01-05 02:34:55 -05:00
acalcutt
5de617dfe2 Update utils.js 2025-01-05 02:30:21 -05:00
acalcutt
62a3212629 simplify input checking 2025-01-05 02:27:26 -05:00
acalcutt
7dddbf77d4 Update serve_rendered.js 2025-01-05 02:02:52 -05:00
acalcutt
340e5db60a use readFile, add path.normalize 2025-01-05 01:44:32 -05:00
acalcutt
1f693003ed Add readFile function 2025-01-05 01:18:01 -05:00
acalcutt
3fedd5bb77 Revert "Update serve_style.js"
This reverts commit 0f3629c752.
2025-01-05 01:01:21 -05:00
acalcutt
54bc82c445 Revert "Update serve_style.js"
This reverts commit b1e1d72f25.
2025-01-05 01:01:02 -05:00
acalcutt
96b35a3a83 Revert "Update serve_style.js"
This reverts commit e0574b1887.
2025-01-05 01:00:53 -05:00
acalcutt
e0574b1887 Update serve_style.js 2025-01-05 00:58:11 -05:00
acalcutt
b1e1d72f25 Update serve_style.js 2025-01-05 00:50:13 -05:00
acalcutt
0f3629c752 Update serve_style.js 2025-01-05 00:41:32 -05:00
acalcutt
dce7732716 Update serve_font.js 2025-01-05 00:08:04 -05:00
acalcutt
e79e011ae8 Update serve_font.js 2025-01-05 00:03:14 -05:00