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
8f9feca6e9
Python: mbtiles_to_pmtiles(): set tile_compression = gzip when converting from MVT MBTiles
2023-06-09 19:36:02 +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
Brandon Liu
9b0e473d30
checking of tile types in openlayers [ #3 ]
2023-04-26 19:54:24 +02:00
Brandon Liu
fb0ea53ea2
open layers example: set raster tile size to 512x512 [ #3 ]
2023-04-26 16:33:34 +02:00
Brandon Liu
d15e9a5760
improve openlayers snippets; read header min/maxzoom [ #3 ]
2023-04-26 16:19:58 +02:00
Brandon Liu
f15fa2f6ce
python version 3.1.1
2023-04-16 13:41:08 +02:00
Brandon Liu
ae51557f62
update js examples
2023-04-11 10:51:16 +02:00
Brandon Liu
21cb8b32bd
js 2.7.2
2023-04-11 10:49:54 +02:00
Brandon Liu
4b5c02acfd
Merge pull request #154 from bmcbride/main
...
set blob type for leafletRasterLayer
2023-04-11 10:43:21 +02:00
Bryan McBride
4627b96c1d
set blob type for leafletRasterLayer
...
Setting the mime type helps with previewing network requests.
2023-04-06 22:36:59 -04:00
Brandon Liu
54096b1b04
Merge pull request #152 from jamesscottbrown/patch-3
...
Delete unused definition of entry_zxy_cmp
2023-04-04 17:21:31 +02:00
James Scott-Brown
2b9bf89c10
Delete unused definition of entry_zxy_cmp
2023-04-04 13:43:24 +01:00
Brandon Liu
1fa179143e
Merge pull request #142 from weskamm/fixtileloading
...
Fix tile loading
2023-03-28 21:36:53 +08:00
Brandon Liu
0d38d087fa
Merge pull request #146 from kajkal/pmtiles-viewer-ux-enhancements-bugfix
...
PMTiles Viewer invalid link href in GitHub Pages - Bugfix
2023-03-28 09:36:38 +08:00
kajkal
3a948e984f
fix invalid link href in GitHub Pages
2023-03-27 16:43:52 +02:00
Brandon Liu
081be12fdb
Merge pull request #145 from kajkal/pmtiles-viewer-ux-enhancements
...
PMTiles Viewer UX enhancements
2023-03-27 10:46:27 +08:00
kajkal
baea873997
prettier formatting
2023-03-26 14:58:29 +02:00
kajkal
3282e6f325
simplify opening a new viewer tab
2023-03-26 14:10:33 +02:00
kajkal
b3631def6b
add vector layers visibility controller
2023-03-26 14:08:14 +02:00
kajkal
e21d1b5c76
improve UX of "show attributes" mode
2023-03-26 12:43:04 +02:00
Johannes Weskamm
f3c31d022b
Fix tile loading
2023-03-22 16:23:07 +01:00