Repository navigation
v0.6.1
v0.6.1 — Verified sprites
- 🖼️ Verified sprites.
assetProtocolanswers MapLibre's JSON requests with parsed JSON, so a sprite sheet served from a verified bundle loads its icons.
Detailed changes
Fixed
assetProtocolanswers each request in the form MapLibre asks for: ajsonrequest, such as a sprite index or a style, with the parsed value, astringrequest with the text, any other with the bytes. MapLibre parses nothing a protocol returns, so a sprite sheet in a verified bundle ("sprite": "verified://<anchor>/sprite", as in the README) loaded no icons.
Full Changelog: v0.6.0...v0.6.1