{"repo":"mmomtchev/ol-mbtiles","free":true,"listed":false,"github":"https://github.com/mmomtchev/ol-mbtiles","clone":"git clone https://github.com/mmomtchev/ol-mbtiles.git","description":"Openlayers plugin for rendering remote vector tile sets in `MBTiles` format","language":"TypeScript","stars":21,"topics":["http","mbtiles","openlayers","sql","sqlite","wasm","webassembly","ol-plugins","openlayers-plugins"],"license":"ISC","category":"databases-storage","readme_excerpt":"ol-mbtiles Openlayers plugin for rendering remote vector tile sets in MBTiles format over bare-bones HTTP Status EXPERIMENTAL This project is based upon the very recent SQLite WASM version and it is inspired by the prior work of @phiresky. Version 2.0 is based on my sqlite-wasm-http . If you are interested in working with MBTiles in the browser without using Openlayers, you should probably start there. The current version supports both raster and vector MBTiles with multiple parallel connections to the remote host. It requires WebAssembly support in the browser which, as of March 2023, is available in 95.54% of the currently installed user base. If SharedArrayBuffer is auto-detected, it can support cache sharing between workers, allowing for a significant performance and efficiency boost. Both raster and vector tilesets are supported. Quickstart Manual layer configuration (requires prior knowledge of the metadata parameters): Automatic discovery of all parameters (requires asynchronous code): Full API https://github.com/mmomtchev/ol-mbtiles/blob/main/docs/API.md SQLite optimization It is recommended to reduce the page size of your SQLite tables (otherwise it will still work, but it will be slower): Examples You can check a Github-hosted live demo with examples: https://mmomtchev.github.io/ol-mbtiles/#osm-vector-tiles - this is the performance you should expect if you cannot set custom HTTP headers You can also see it working in a COOP/COEP-enabled environment here: https://ol","default_branch":null,"files":null,"tree":[],"storefront":"/r/mmomtchev","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/mmomtchev/ol-mbtiles/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}