Daniel Kao
f94625ab05
fix: fix vectortile constructor ( #723 )
...
Signed-off-by: Daniel Kao <dkao@diplateevo.com>
Signed-off-by: Daniel Kao <dkao@diplateevo.com>
2023-01-20 17:41:18 -05:00
Michael Nutt
a7af45ee3f
fix: Ensure font serving does not reflect userdata-derived errors as HTML ( #647 )
...
* fix: ensure font serving does not reflect userdata-derived errors as HTML
Signed-off-by: Michael Nutt <michael@nuttnet.net>
2022-11-24 11:07:11 -05:00
Vinayak Kulkarni
9b64093c42
style: fix lint issues in code 🕺 ( #626 )
...
* style: fix lint issues in code 🕺
Signed-off-by: Vinayak Kulkarni <19776877+vinayakkulkarni@users.noreply.github.com>
* style: lint fix all files
Signed-off-by: Vinayak Kulkarni <19776877+vinayakkulkarni@users.noreply.github.com>
* chore: add `keywords` for better reach
Signed-off-by: Vinayak Kulkarni <19776877+vinayakkulkarni@users.noreply.github.com>
* feat: add `husky` & `commitlint`
Signed-off-by: Vinayak Kulkarni <19776877+vinayakkulkarni@users.noreply.github.com>
* chore: ignore `public` directory
Signed-off-by: Vinayak Kulkarni <19776877+vinayakkulkarni@users.noreply.github.com>
* revert: do not lint `public` directory
Signed-off-by: Vinayak Kulkarni <19776877+vinayakkulkarni@users.noreply.github.com>
* style: fix issues with lint
Signed-off-by: Vinayak Kulkarni <19776877+vinayakkulkarni@users.noreply.github.com>
* feat: add eslint config
Signed-off-by: Vinayak Kulkarni <19776877+vinayakkulkarni@users.noreply.github.com>
* feat: add lint-staged
Signed-off-by: Vinayak Kulkarni <19776877+vinayakkulkarni@users.noreply.github.com>
* style: lint fix all file(s)
Signed-off-by: Vinayak Kulkarni <19776877+vinayakkulkarni@users.noreply.github.com>
* fix: ignore rules for light version
Signed-off-by: Vinayak Kulkarni <19776877+vinayakkulkarni@users.noreply.github.com>
* fix: remove unnecessary space
Signed-off-by: Vinayak Kulkarni <19776877+vinayakkulkarni@users.noreply.github.com>
* chore(deps): update lockfile
Signed-off-by: Vinayak Kulkarni <19776877+vinayakkulkarni@users.noreply.github.com>
* style: autofix linting issue(s)
Signed-off-by: Vinayak Kulkarni <19776877+vinayakkulkarni@users.noreply.github.com>
Signed-off-by: Vinayak Kulkarni <19776877+vinayakkulkarni@users.noreply.github.com>
2022-11-08 22:56:07 -05:00
Andrew Calcutt
b2bd5eaa96
Convert to esm module syntax ( #606 )
...
* switch to esm module
* Update package.json
* change to maplibre package
* fix tests
* eslint
* remove extra package updates
* Delete package-lock.json
* change 'fs' to 'node:fs'
* put back node 10.
without the package updates this still works
* remove trailing commas
* remove unassociated fix / formatting
* remove unassociated fix
* remove eslint from this PR
* remove unassociated fix
* lint
* Merge remote-tracking branch 'upstream/master' into esm_update
* fix mlgl
* update maplibre-native to new version with arm64
* update minor version
2022-09-28 14:41:55 -04:00
Nathan Gass
edd36dd251
Open mbtiles in readonly mode ( #506 )
2022-09-24 12:17:35 -04:00
Petr Sloup
cb700181d3
Refactor style/rendered/data serving to allow for dynamic adding/removing of items
2020-01-07 14:32:30 +01:00
Petr Sloup
226b979592
Fix deprecation warnings
2019-12-30 17:18:05 +01:00
Petr Sloup
515c295898
Remove obsolete old code
2019-12-30 17:00:23 +01:00
Yuri Astrakhan
7f8be27844
Update code to ES6
...
* var -> let / const
* [].forEach -> for (... of ...)
* '...' + var -> template strings `...${var}`
* function -> arrow functions `=>`
* use === and !== instead of == and !=
2019-12-21 14:09:20 -05:00
Isaac Besora Vilardaga
bca5191ad9
Removes body data from http 204 response
2019-01-07 13:48:22 +01: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
Masud Zare
9d642fa0b3
return 204 when mbtiles error is 'Tile does not exist'
2018-05-07 15:21:41 +04:30
Tim Schaub
5ed632c229
Reject source info promise on error
2017-10-23 10:01:32 -06:00
Tim Schaub
f545076986
Avoid swallowing rejected source info promise
2017-10-23 10:01:19 -06:00
Alban Mouton
dc6be5047c
missing public_url in tiles urls
2017-10-18 14:49:10 +02:00
Petr Sloup
42f24c2c99
Add concept of data decorator function
2017-07-28 09:53:32 +02:00
Petr Sloup
8fd7a9b42b
Update dependencies to get ready for node v6
2017-06-22 16:37:32 +02:00
Petr Sloup
d30027e992
Modify all serve_*
modules to return a Promise (preparation for #140 )
2017-05-10 08:56:43 +02:00
Petr Sloup
7b952ee5c0
Do not add style
parameter when not needed ( close #134 )
2017-03-15 11:39:21 +01:00
Petr Sloup
6231f9f7a7
Configurable optional alias for .pbf tiles ( #109 )
2017-01-25 15:30:58 +01:00
Petr Sloup
2d29a21596
Do not add basename to tilejson and remove sensitive properties (see #69 )
2016-12-20 13:55:36 +01:00
Petr Sloup
d3a685e51c
Fix unzip bug
2016-12-07 11:03:03 +01:00
Petr Sloup
d330a9743c
Minor bugfix
2016-12-06 22:16:35 +01:00
Petr Sloup
ef3f34f778
Add geojson endpoints ( close #78 )
2016-12-06 21:26:30 +01:00
Petr Sloup
1aaabd2dff
Experimental integration of first plugin
2016-12-06 20:11:18 +01:00
Petr Sloup
3cf8ce9903
Add mbtiles_data: "metaprotocol"
2016-08-20 10:28:45 +02:00
Petr Sloup
845e31b3f2
More sensible errors for non-existent mbtiles
2016-08-19 08:25:12 +02:00
Petr Sloup
3c29cb0f65
ETag/caching fixes and improvements
2016-07-13 12:56:59 +02:00
Petr Sloup
187da7bb58
Add raster view for raster data
2016-05-04 13:53:47 +02:00
Petr Sloup
5d940066d9
Display filesizes of the mbtiles
2016-05-04 13:07:09 +02:00
Petr Sloup
a25ce62662
New urls for source data tiles and rendered tiles
2016-04-22 12:33:20 +02:00