Brandon Liu
6e07acd2bd
Merge pull request #203 from protomaps/js-2-9
...
js 2.9; pass header bounds through maplibre protocol
2023-06-22 14:35:50 +08:00
Brandon Liu
181c9efb7e
js 2.9; pass header bounds through maplibre protocol
2023-06-22 14:32:11 +08:00
Brandon Liu
56f5a7c179
Merge pull request #202 from protomaps/cloudflare-native-decompress
...
Revert cloudflare decompression to own function
2023-06-22 14:25:10 +08:00
Brandon Liu
d718ad1fe4
Merge pull request #201 from protomaps/spec-metadata-optional-keys
...
Spec: more optional metadata keys that might be read by viewers
2023-06-22 14:22:56 +08:00
Brandon Liu
77e6d96aad
Merge pull request #200 from protomaps/js-avif
...
add AVIF enum in JS client [#116 ]
2023-06-22 14:22:41 +08:00
Brandon Liu
2cb9f5868a
Revert cloudflare decompression to own function
...
* polyfill takes up too much CPU time
* bump cloudflare workers-types
* add tsc checks to CI for serverless
2023-06-22 13:47:06 +08:00
Brandon Liu
005eba513e
more metadata optional keys
2023-06-22 10:42:23 +08:00
Brandon Liu
10021809dc
add AVIF enum in JS client [ #116 ]
2023-06-22 10:08:34 +08:00
Brandon Liu
07f8fd8a09
Merge pull request #123 from protomaps/spec-3-1
...
add spec 3.1 metadata details [#111 ]
2023-06-22 09:55:11 +08:00
Brandon Liu
6e0187049e
add spec 3.1 metadata details [ #111 ]
2023-06-22 09:47:00 +08:00
Brandon Liu
17218ecb77
Merge pull request #170 from protomaps/cloudflare-tilejson
...
Cloudflare TileJSON
2023-06-21 18:34:28 +08:00
Brandon Liu
dc8eb73458
TileJSON support for Cloudflare and AWS [ #169 ]
...
* Remove TILE_PATH configuration as this makes supporting non-tile paths difficult
* create shared/ dir in serverless for common code
* linting fixes
2023-06-21 18:19:10 +08:00
Brandon Liu
5cffe7ac68
Merge pull request #192 from rouault/mbtiles_to_pmtiles_maxzoom
...
Python: mbtiles_to_pmtiles(): patch maxzoom metadata when using maxzoom option
2023-06-19 10:45:26 +08:00
Brandon Liu
6052ca2d57
js 2.8.0
2023-06-17 10:44:57 +08:00
Brandon Liu
16377186d7
Merge pull request #198 from protomaps/cpp-more-warnings
...
cpp: add more warning flags to test suite [#194 ]
2023-06-17 10:42:13 +08:00
Brandon Liu
0ec589ad18
Merge pull request #199 from protomaps/maplibre-error-reporting
...
surface exceptions to MapLibre protocol API [fixes #196 ]
2023-06-17 10:41:59 +08:00
Brandon Liu
7f4691d11f
Merge pull request #181 from protomaps/decompressionstream-polyfill
...
use compression-stream-polyfill for faster, native gzip decompression
2023-06-17 10:38:49 +08:00
Brandon Liu
2bd776820f
surface exceptions to MapLibre protocol API [ fixes #196 ]
2023-06-17 09:36:27 +08:00
Brandon Liu
65eaa0e0ff
cpp: add more warning flags to test suite [ #194 ]
2023-06-17 07:31:37 +08:00
Brandon Liu
236e84e24f
Merge pull request #195 from rouault/pmtiles.hpp_extra_fixes
...
cpp/pmtiles.hpp: fix build error with big-endian, and add extra sanity check
2023-06-17 06:37:23 +08:00
Even Rouault
fe7e7db559
cpp/pmtiles.hpp: fix build error with big-endian, and add extra sanitfy check
2023-06-14 23:52:04 +02:00
Brandon Liu
6899e23f06
Merge pull request #194 from rouault/cpp_fixes
...
pmtiles.hpp: multiple warning and robustness fixes
2023-06-12 12:21:19 -04:00
Brandon Liu
61a2c7b99f
Merge pull request #191 from protomaps/serverless-ext-mismatch
...
serverless: improve error message if request doesn't match archive type
2023-06-12 10:05:30 -04:00
Even Rouault
6cd1c3a39b
pmtiles.hpp: multiple warning and robustness fixes
...
This fixes a number of warnings found when integrating it in GDAL
builds, which are done with quite pedantic warning levels.
- add explicit casts when shortening variables
- add support for big-endian targets if defining PMTILES_MSB
- add santity checks on reading directories against corrupt/hostile data
- replace a exit() call by an exception
2023-06-09 20:23:05 +02:00
Even Rouault
021267c67b
Python: mbtiles_to_pmtiles(): patch maxzoom metadata when using maxzoom option
2023-06-09 19:30:21 +02:00
Brandon Liu
7250f81846
serverless: improve error message if request doesn't match archive type [ #190 ]
2023-06-07 09:26:51 -04:00
Brandon Liu
fec0d1136c
Merge pull request #185 from geospatial-jeff/179-header-dry
...
reuse `Reader.header`
2023-05-29 17:04:19 +08:00
Brandon Liu
2613ef1047
Merge pull request #186 from geospatial-jeff/180-header-include-version
...
deserialize_header returns pmtiles version
2023-05-29 11:22:26 +08:00
Brandon Liu
1baa8cf416
Merge pull request #184 from geospatial-jeff/178-read-mode
...
open mmap with ACCESS_READ
2023-05-29 11:20:13 +08:00
Brandon Liu
af6cc00c0f
fix CI; update type of RequestParameters from maplibre util/ajax.ts
2023-05-29 11:18:54 +08:00
geospatial-jeff
ba7bc0e24e
deserialize_header returns pmtiles version
2023-05-28 09:46:27 -06:00
geospatial-jeff
fc27e525cd
reuse Reader.header
2023-05-28 09:43:16 -06:00
geospatial-jeff
c9e0c9d019
open mmap with ACCESS_READ
2023-05-28 09:41:08 -06:00
Brandon Liu
db7ed668bb
js 2.8.0-beta.0
2023-05-24 13:05:34 +08:00
Brandon Liu
9c7f298fb4
Inspector app: bump maplibre to 3.0.0 [ #49 ]
2023-05-24 12:48:54 +08:00
Brandon Liu
b2aa3164fb
use compression-stream-polyfill for faster, native gzip decompression [ #97 , #167 ]
2023-05-22 10:49:16 +08:00
Brandon Liu
f31be16f58
Merge pull request #176 from jamesscottbrown/patch-4
...
Remove max-width for tooltips
2023-05-18 18:42:15 +08:00
James Scott-Brown
b1a4ecbc7d
change single to double quotes
2023-05-15 17:07:14 +01:00
James Scott-Brown
606f79d483
Remove max-width for tooltips
...
The Maplibre docs say that `options.maxWidth` is "A string that sets the CSS property of the popup's maximum width, eg '300px' . To ensure the popup resizes to fit its content, set this property to 'none'"
https://maplibre.org/maplibre-gl-js-docs/api/markers/#popup
2023-05-15 15:17:00 +01:00
Brandon Liu
efb2f8c14c
renames: master > main
2023-05-10 20:28:21 +08:00
Brandon Liu
1b277a951f
update READMEs to point to openlayers examples [ #3 ]
2023-05-10 20:28:04 +08:00
Brandon Liu
089a732c54
openlayers: add copy of code for script includes; migrate examples [ #3 ]
2023-05-10 20:20:37 +08:00
Brandon Liu
7ec4ecbcdb
openlayers: simplify down to single index.js [ #3 ]
2023-05-10 18:55:14 +08:00
Brandon Liu
7d57f57c3e
app: clean up unused dependencies
2023-05-09 13:52:09 +08:00
Brandon Liu
0053c86652
viewer app: raster overlays show vector basemap
2023-05-08 14:00:27 +08:00
Brandon Liu
23a3056a7f
ol-pmtiles 0.0.2: basic first-class support for OpenLayers
2023-05-05 17:07:21 +08:00
Brandon Liu
c418539cd8
add openlayers stub
2023-05-04 14:47:30 +08:00
Brandon Liu
a885f4098a
implement metadata and TileJSON-like responses for Cloudflare Workers [ #169 ]
2023-05-03 23:58:22 +08:00
Brandon Liu
3043c20890
bump cloudflare wrangler version
2023-05-03 23:57:08 +08:00
Brandon Liu
7ea69442b3
c++: fix off-by-one error causing out-of-bounds access
2023-05-03 12:58:29 +08:00