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
Petr Sloup
aa933e5154
Fix tests
2020-01-08 15:18:51 +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
Petr Sloup
bc3d79bfdc
Update dependencies
2018-09-14 08:14:28 +02:00
Masud Zare
72ea5ab05d
fix corresponding test scenario
2018-05-07 15:58:32 +04:30
Alban Mouton
875521c5a8
add public_url option
2017-10-18 13:51:37 +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
5d93b1d4f9
Add healthcheck endpoint ( close #140 )
2017-05-10 08:57:51 +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
f8949c1aa9
Configurable scale factors ( close #121 )
...
Also changes default maximum from `4x` to `3x`
2017-03-15 12:09:18 +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
1c401f41a2
Update tests and links to use the new data
2016-12-15 10:51:18 +01:00
Petr Sloup
23c2aa54d0
Update tests
2016-08-25 11:09:01 +02:00
Petr Sloup
b4d6490e00
Large refactoring of usage (only mbtiles, default styles, ...) ( #27 )
2016-08-20 13:31:11 +02:00
Petr Sloup
fb758be730
Update tests to use v0.8 dataset
2016-07-27 12:32:53 +08:00
Petr Sloup
a0fbf7fb79
Fix font compositing ( close #32 )
2016-07-26 18:56:32 +07:00
Petr Sloup
575c1df524
Add tests for autofit static endpoints
2016-06-27 08:11:02 +02:00
Petr Sloup
d8f35bb70a
Update area-based static tests
2016-06-27 08:01:28 +02:00
Petr Sloup
59cc66095f
Minor test update
2016-05-04 13:57:00 +02:00
Petr Sloup
54073cecce
Simplify URL for "static"
...
/styles/{id}/rendered/static/... -> /styles/{id}/static/...
2016-04-22 15:50:56 +02:00
Petr Sloup
a25ce62662
New urls for source data tiles and rendered tiles
2016-04-22 12:33:20 +02:00
Petr Sloup
c0fb4fd400
Support for raster mbtiles (issue #13 )
2016-04-21 18:23:13 +02:00
Petr Sloup
074c873826
Support optional bearing and pitch in center-based static requests
2016-03-11 12:10:22 +01:00
Petr Sloup
1c73c14d84
Update and add tests
2016-03-11 11:27:17 +01:00
Petr Sloup
6f644a4c03
Serve TileJSONs on /{prefix}.json
2016-03-09 19:18:59 +01:00
Petr Sloup
9efa22b52b
Add more tests + better structuring
2016-03-09 17:26:34 +01:00
Petr Sloup
d6e17c1a3a
More tests for the endpoints
2016-03-09 13:22:06 +01:00
Petr Sloup
832b2d22be
Do not invoke done
in test setup
2016-03-09 12:34:16 +01:00
Petr Sloup
77755b548b
Add first batch of tests
2016-03-09 11:26:02 +01:00