Commit graph

100 commits

Author SHA1 Message Date
acalcutt
1476f7cfcb remove extra maplibreLogo 2023-02-19 14:16:40 -05:00
acalcutt
45d22f782e put back css 2023-02-19 14:13:49 -05:00
acalcutt
56e4aa8e69 Merge remote-tracking branch 'upstream/master' into remove_ie_support 2023-02-19 14:10:12 -05:00
acalcutt
396ccf54f2 revert leaflet removal 2023-02-19 14:09:26 -05:00
Andrew Calcutt
faa4fdc6ee
upgrade leaflet to 1.9.3 (#755)
* leaflet 1.9.3

* add leaflet license

* remove images

* add layers icons
2023-02-12 00:07:55 -05:00
acalcutt
927847c95d remove leaflet css 2023-01-26 18:33:29 -05:00
acalcutt
b0a2c546df use same hover options on both maps
Makes the popup only show on click. if you right click the popup goes away. (this was the behavior on the viewer pages before)
2023-01-26 18:33:28 -05:00
acalcutt
f81a6f604f use keyParam 2023-01-26 18:33:28 -05:00
acalcutt
d5a09477d1 Put back key_query
I think this is needed if ngnix "API Key Authentication" is used
2023-01-26 18:33:27 -05:00
acalcutt
179fdb88c1 Remove IE support / remove leaflet 2023-01-26 18:33:27 -05:00
acalcutt
1bb67f996c use keyParam 2023-01-26 18:32:34 -05:00
acalcutt
162f3fc42b Put back key_query
I think this is needed if ngnix "API Key Authentication" is used
2023-01-26 18:32:33 -05:00
acalcutt
51560ba756 Remove IE support / remove leaflet 2023-01-26 18:31:56 -05:00
acalcutt
debf034fa3 use keyParam 2023-01-26 18:29:09 -05:00
acalcutt
3e5a0e983a Put back key_query
I think this is needed if ngnix "API Key Authentication" is used
2023-01-26 18:29:08 -05:00
acalcutt
8f487ff36b Remove IE support / remove leaflet 2023-01-26 18:29:08 -05:00
acalcutt
01de1f8f1f remove stray quotes 2023-01-26 18:29:08 -05:00
acalcutt
a3c086c8c6 add tileSize to fix text 2023-01-26 18:29:06 -05:00
acalcutt
cabc96b527 use keyParam 2023-01-26 18:29:04 -05:00
acalcutt
7a41cbc84e Put back maplibre logo 2023-01-26 18:29:01 -05:00
acalcutt
fafdf041a1 Put back key_query
I think this is needed if ngnix "API Key Authentication" is used
2023-01-26 18:29:00 -05:00
acalcutt
c0dae1b843 fix raster path 2023-01-26 18:28:59 -05:00
acalcutt
753d81d9fa Remove IE support / remove leaflet 2023-01-26 18:28:58 -05:00
Vinayak Kulkarni
0519ee7535
fix: add key_query to static assets 🎉 (#730)
* fix: add `key_query` to static assets

Signed-off-by: Vinayak Kulkarni <19776877+vinayakkulkarni@users.noreply.github.com>

* style: fix lint issues in css

Signed-off-by: Vinayak Kulkarni <19776877+vinayakkulkarni@users.noreply.github.com>

* fix: issue with static images in `leaflet.css`

Signed-off-by: Vinayak Kulkarni <19776877+vinayakkulkarni@users.noreply.github.com>

Signed-off-by: Vinayak Kulkarni <19776877+vinayakkulkarni@users.noreply.github.com>
2023-01-25 09:23:02 -05:00
Michael Nutt
78c17773db
Fix xss due to handlebars variables in javascript (#535)
* fix xss due to handlebars variables in javascript

* fix: update data viewer against XSS

Signed-off-by: Michael Nutt <michael@nuttnet.net>

* fix: remove key_query from all static assets to prevent XSS

Signed-off-by: Michael Nutt <michael@nuttnet.net>

Signed-off-by: Michael Nutt <michael@nuttnet.net>
2023-01-19 00:12:31 -05:00
Monstrofil
38604c0a45
Bugfix: publicUrl is not used in some urls (#605)
In WMTS the publicUrl path was missed and it was not working properly.
Similar story about wmts.tmpl: the baseUrl is not working properly when
tileserver is hidden behind the proxy with different root path.

* Minor bugfix: make baseUrl always use '/' in the end

Co-authored-by: Oleksandr Shyshatskyi <oshyshatskyi@cloudlinux.com>
Co-authored-by: acalcutt <acalcutt@techidiots.net>
2022-09-30 09:18:13 -04:00
Tobias
a5459fb3ba
CSS: Fix line break for long key-value strings (#580)
* CSS: Fix line break for long key-value strings

`break-all` forces a line break for long strings (https://developer.mozilla.org/en-US/docs/Web/CSS/word-break).

* add pr fix to maplinre-gl-inspect.css

Co-authored-by: acalcutt <acalcutt@techidiots.net>
2022-09-24 00:46:17 -04:00
Mateusz Łoskot
44372784e1
Fix URL to WMTS capabilities to be based on public URL (#501) 2022-09-23 09:35:32 -04:00
acalcutt
58222b4c7b put back default inspect css 2022-09-14 20:50:16 -04:00
acalcutt
ba5e8c4392 remove mapbox libraries 2022-09-14 20:39:23 -04:00
acalcutt
abe5cd6401 update data and viewer templates 2022-09-14 20:39:02 -04:00
acalcutt
0c6509d959 add maplibre-gl-js / leaflet libraries 2022-09-14 20:36:45 -04:00
poljvd
5377414710
Fix missing ScaleDenominator in wmts.tmpl
The missing ScaleDenominator causes GeoServer to throw an error when importing the layer.
2020-09-28 10:33:21 +02:00
Petr Sloup
13ad268b43 Update mapbox-gl-js to v1.6.1 and mapbox-gl-rtl-text to v0.2.3 2019-12-30 17:11:45 +01:00
Petr Sloup
b839979351 Remove uselessly huge background images 2019-12-30 16:54:36 +01:00
Petr Sloup
0a7c403f0b Update repo links, footnote, etc. (klokantech->maptiler) 2019-12-30 16:54:35 +01:00
Petr Sloup
9603703908 Minor css fix 2019-08-26 12:10:32 +02:00
Alban Mouton
c99a1a5425 Merge remote-tracking branch 'klokantech/master' into public_url
# Conflicts:
#	src/main.js
#	src/server.js
2018-12-19 09:53:40 +01:00
Petr Sloup
507da8567e
Merge pull request #321 from loicgasser/css-break-all
Break all on long title and item
2018-12-18 09:02:42 +01:00
Gasser Loïc
059b0f11a0
Break all on long title and item 2018-10-12 10:53:14 -04:00
Måns Beckman
782c28cd64 Add key to WMTS xml
This should add the key to the wmts xml for hosted services
2018-09-13 17:58:13 +02:00
Måns Beckman
71fab2a2a1 Add support for WMTS capabilites
https://github.com/klokantech/tileserver-gl/issues/274

Clean up wmts template with correct syntax

Update endpoint URL and change content type

After a good nights sleep I considered the structure of the endpoint link for WMTS, at the same time I cleaned up the code and added the correct content type for the response.
2018-08-21 19:33:37 +02:00
Petr Sloup
7a9f04a024 Update MB GL JS to v0.43.0 2018-03-01 09:26:56 +01:00
Alban Mouton
47ff33166d missing public_url in templates 2017-10-18 14:20:33 +02:00
Alban Mouton
875521c5a8 add public_url option 2017-10-18 13:51:37 +02:00
Petr Sloup
da5ea4b426 Update Mapbox GL JS to v0.38.0 (close #188) 2017-07-03 09:39:55 +02:00
Petr Sloup
698c527e94 Change endpoint URLs (close #154)
- styles at /style/{id}/style.json
- rendered tiles at /style/{id}/{z}/{x}/{y}.{format}
- TileJSONs at /style/{id}.json
2017-06-22 16:37:32 +02:00
Petr Sloup
37386bfb29 Hide empty headers on index (close #125) 2017-03-14 16:02:54 +01:00
Petr Sloup
e6ebb918fb Add mapbox-gl-rtl-text to correctly render labels in javascript (close #112) 2017-02-03 10:01:31 +01:00
Petr Sloup
ba0f441490 Update to mapbox-gl-js v0.32.1 2017-02-03 09:54:02 +01:00