Andrew Calcutt
07865a383a
docs: reword
...
Signed-off-by: Andrew Calcutt <acalcutt@techidiots.net>
2023-10-15 01:23:00 -04:00
Andrew Calcutt
4549b27d4e
fix: lint
...
Signed-off-by: Andrew Calcutt <acalcutt@techidiots.net>
2023-10-15 01:19:10 -04:00
Andrew Calcutt
fd2ffacb7c
fix: move hash to front of identifier
...
Signed-off-by: Andrew Calcutt <acalcutt@techidiots.net>
2023-10-15 01:06:52 -04:00
Andrew Calcutt
f786989600
fix: data name on template , reformat
...
Signed-off-by: Andrew Calcutt <acalcutt@techidiots.net>
2023-10-15 01:06:21 -04:00
Andrew Calcutt
92d061596b
docs: update docs
...
Signed-off-by: Andrew Calcutt <acalcutt@techidiots.net>
2023-10-15 00:24:08 -04:00
Andrew Calcutt
c9ea918dfb
docs: add pmtiles license to licenses
...
Signed-off-by: Andrew Calcutt <acalcutt@techidiots.net>
2023-10-15 00:16:58 -04:00
Andrew Calcutt
c64c07790d
feat: allow multiple urls with same filename
...
Signed-off-by: Andrew Calcutt <acalcutt@techidiots.net>
2023-10-15 00:08:49 -04:00
Andrew Calcutt
d0ba661ad0
docs: try to clarify
...
Signed-off-by: Andrew Calcutt <acalcutt@techidiots.net>
2023-10-14 21:47:18 -04:00
Andrew Calcutt
065b3742f0
fix: match docs source behavior
...
Signed-off-by: Andrew Calcutt <acalcutt@techidiots.net>
2023-10-14 21:25:47 -04:00
Andrew Calcutt
c866de4691
docs: update docs
...
Signed-off-by: Andrew Calcutt <acalcutt@techidiots.net>
2023-10-14 21:10:50 -04:00
Andrew Calcutt
ccad4854a0
docs: update docs
...
Signed-off-by: Andrew Calcutt <acalcutt@techidiots.net>
2023-10-14 21:07:09 -04:00
Andrew Calcutt
a106fec3fc
fix: get data sources specified in style to work
...
Signed-off-by: Andrew Calcutt <acalcutt@techidiots.net>
2023-10-14 20:33:42 -04:00
Andrew Calcutt
f2d7e44f3e
Merge remote-tracking branch 'upstream/master' into pmtiles
...
Signed-off-by: Andrew Calcutt <acalcutt@techidiots.net>
2023-10-13 23:34:58 -04:00
Andrew Calcutt
7d8a6ad338
v4.5.2
...
Signed-off-by: Andrew Calcutt <acalcutt@techidiots.net>
2023-10-13 22:45:30 -04:00
Andrew Calcutt
694b21aff3
fix: update package-lock
...
Signed-off-by: Andrew Calcutt <acalcutt@techidiots.net>
2023-10-13 20:46:05 -04:00
Andrew Calcutt
446038e216
Merge remote-tracking branch 'upstream/master' into pmtiles
...
Signed-off-by: Andrew Calcutt <acalcutt@techidiots.net>
2023-10-13 20:44:22 -04:00
Martin d'Allens
e8f64e2861
chore: cleanup useless decodeURIComponent() calls ( #1002 )
...
* chore: cleanup useless decodeURIComponent() calls
Signed-off-by: Martin d'Allens <martin.dallens@liberty-rider.com>
* chore: try to fix CodeQL failure "Polynomial regular expression"
Fix 1:
\d\.?\d* can backtrack catastrophically
\d(\.\d*)? is safer
Fix 2:
Useless parenthesis around "enc:"
Fix 3:
The httpTester regex was misleading. It did not really check for "http".
Simplified to show its true meaning. The behaviour should not have changed.
Signed-off-by: Martin d'Allens <martin.dallens@liberty-rider.com>
* chore: try to optimize the regex further, to fix CodeQL failure
Signed-off-by: Martin d'Allens <martin.dallens@liberty-rider.com>
* chore: consistency between previous changes, docs, and serve_style.js
Signed-off-by: Martin d'Allens <martin.dallens@liberty-rider.com>
---------
Signed-off-by: Martin d'Allens <martin.dallens@liberty-rider.com>
2023-10-13 19:08:28 -04:00
dependabot[bot]
3781054f2d
fix(deps): Bump proj4 from 2.9.0 to 2.9.1 ( #1015 )
...
Bumps [proj4](https://github.com/proj4js/proj4js ) from 2.9.0 to 2.9.1.
- [Release notes](https://github.com/proj4js/proj4js/releases )
- [Changelog](https://github.com/proj4js/proj4js/blob/master/changelog.md )
- [Commits](https://github.com/proj4js/proj4js/compare/2.9.0...2.9.1 )
---
updated-dependencies:
- dependency-name: proj4
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-13 23:05:24 +00:00
dependabot[bot]
9d5684513e
fix(deps): Bump commander from 11.0.0 to 11.1.0 ( #1014 )
...
Bumps [commander](https://github.com/tj/commander.js ) from 11.0.0 to 11.1.0.
- [Release notes](https://github.com/tj/commander.js/releases )
- [Changelog](https://github.com/tj/commander.js/blob/master/CHANGELOG.md )
- [Commits](https://github.com/tj/commander.js/compare/v11.0.0...v11.1.0 )
---
updated-dependencies:
- dependency-name: commander
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-13 22:41:05 +00:00
Andrew Calcutt
85ec8e4d56
fix: simplify property check
...
Signed-off-by: Andrew Calcutt <acalcutt@techidiots.net>
2023-10-13 15:49:34 -04:00
Andrew Calcutt
f85d44f244
fix: lint
...
Signed-off-by: Andrew Calcutt <acalcutt@techidiots.net>
2023-10-13 15:13:33 -04:00
Andrew Calcutt
3cab6f1edf
fix: http check + errors
...
Signed-off-by: Andrew Calcutt <acalcutt@techidiots.net>
2023-10-13 15:11:08 -04:00
Andrew Calcutt
cd13093a1a
fix: property access on null or undefined
...
Signed-off-by: Andrew Calcutt <acalcutt@techidiots.net>
2023-10-13 14:55:30 -04:00
Andrew Calcutt
29e8509609
fix: implicit string warning
...
Signed-off-by: Andrew Calcutt <acalcutt@techidiots.net>
2023-10-13 14:39:46 -04:00
Andrew Calcutt
f4371c9aed
fix: wrong filetype position
...
Signed-off-by: Andrew Calcutt <acalcutt@techidiots.net>
2023-10-13 14:15:37 -04:00
Andrew Calcutt
f56cdebf19
fix: undefined url
...
Signed-off-by: Andrew Calcutt <acalcutt@techidiots.net>
2023-10-13 14:00:51 -04:00
Andrew Calcutt
4b05f36fcc
fix: simplify source to data mapping
...
Signed-off-by: Andrew Calcutt <acalcutt@techidiots.net>
2023-10-13 13:57:44 -04:00
Andrew Calcutt
759e51fe05
fix: remove PMtilesClose
...
I'm not sure this is really needed
Signed-off-by: Andrew Calcutt <acalcutt@techidiots.net>
2023-10-13 11:01:16 -04:00
Andrew Calcutt
371bde7070
fix: lint
...
Signed-off-by: Andrew Calcutt <acalcutt@techidiots.net>
2023-10-13 09:58:55 -04:00
Andrew Calcutt
d95e8a1f89
fix: update syntax, use inbuilt buffer funcs
...
Signed-off-by: Andrew Calcutt <acalcutt@techidiots.net>
2023-10-13 09:57:02 -04:00
Andrew Calcutt
a24a48bd1e
fix: try to support pmtiles with fromdata set
...
I'm not sure how this is supposed to be used, but i don't want it to only be allowed in mbtiles
Signed-off-by: Andrew Calcutt <acalcutt@techidiots.net>
2023-10-13 01:01:59 -04:00
Andrew Calcutt
fa7ab7f81d
fix: lint
...
Signed-off-by: Andrew Calcutt <acalcutt@techidiots.net>
2023-10-13 00:09:00 -04:00
Andrew Calcutt
38c98f54db
fix: put back older node compatibility
...
Signed-off-by: Andrew Calcutt <acalcutt@techidiots.net>
2023-10-13 00:07:33 -04:00
Andrew Calcutt
ee7dbcec84
Merge remote-tracking branch 'mnutt/mn/pmtiles' into pmtiles
...
Signed-off-by: Andrew Calcutt <acalcutt@techidiots.net>
2023-10-12 23:45:55 -04:00
Andrew Calcutt
94eae4910f
fix: small case change
...
Signed-off-by: Andrew Calcutt <acalcutt@techidiots.net>
2023-10-12 23:23:07 -04:00
Michael Nutt
755c47021f
style: minor clone refactoring
...
Signed-off-by: Michael Nutt <michael@nuttnet.net>
2023-10-12 22:53:23 -04:00
Michael Nutt
950db94fd9
style: capitalization
...
Signed-off-by: Michael Nutt <michael@nuttnet.net>
2023-10-12 22:53:01 -04:00
Andrew Calcutt
979f841464
fix: http pmtiles not working in style
...
Signed-off-by: Andrew Calcutt <acalcutt@techidiots.net>
2023-10-12 22:39:32 -04:00
Andrew Calcutt
49d49e697e
fix: lint
...
Signed-off-by: Andrew Calcutt <acalcutt@techidiots.net>
2023-10-12 21:24:51 -04:00
Andrew Calcutt
b199901dbc
fix: center
...
Signed-off-by: Andrew Calcutt <acalcutt@techidiots.net>
2023-10-12 20:55:30 -04:00
Andrew Calcutt
bf4dbf319a
fix: do shallow clone of arrays for index page
...
Based on https://github.com/maptiler/tileserver-gl/pull/529 . might fix slow load due to tile cache
Signed-off-by: Andrew Calcutt <acalcutt@techidiots.net>
2023-10-12 20:51:02 -04:00
Boon Boonsiri
9348350ba3
Allow base 64 url as images for static maps ( #1007 )
...
* allow base-64 url as images
* Add option to config
* Refactoring
* Update docs
* feat: added base64 url images lint
Signed-off-by: Boon Boonsiri <bboonsir@uwaterloo.ca>
---------
Signed-off-by: Boon Boonsiri <bboonsir@uwaterloo.ca>
2023-10-12 01:22:51 -04:00
Andrew Calcutt
5f1b2814ba
fix: change center
...
Signed-off-by: Andrew Calcutt <acalcutt@techidiots.net>
2023-10-12 01:06:07 -04:00
Andrew Calcutt
68168ce7b6
fix: lint
...
Signed-off-by: Andrew Calcutt <acalcutt@techidiots.net>
2023-10-12 01:05:27 -04:00
Andrew Calcutt
e66360c469
fix: cannot access source
...
Signed-off-by: Andrew Calcutt <acalcutt@techidiots.net>
2023-10-12 00:50:26 -04:00
Andrew Calcutt
9f79c25232
fix: constant code ql error
...
Signed-off-by: Andrew Calcutt <acalcutt@techidiots.net>
2023-10-12 00:44:24 -04:00
Andrew Calcutt
1d2e9eae73
fix: remove console.log
...
Signed-off-by: Andrew Calcutt <acalcutt@techidiots.net>
2023-10-12 00:29:26 -04:00
Andrew Calcutt
81e40112b0
fix: add bounds and center when they don't exist
...
Signed-off-by: Andrew Calcutt <acalcutt@techidiots.net>
2023-10-12 00:27:42 -04:00
Andrew Calcutt
a5cc66729d
refactor: only pass back metadata
...
Signed-off-by: Andrew Calcutt <acalcutt@techidiots.net>
2023-10-12 00:26:39 -04:00
Andrew Calcutt
5ce9dddf0d
fix: undefine tiles / Conent-Type
...
Signed-off-by: Andrew Calcutt <acalcutt@techidiots.net>
2023-10-11 22:58:56 -04:00