Skip to content

v0.8.7

Compare
Choose a tag to compare
@nyurik nyurik released this 23 Jun 04:01
· 694 commits to main since this release

What's New

Sprite serving

Dynamic sprites support was added by @nyurik in #715. Given a directory with SVG images, Martin will dynamically generate a sprite index and a PNG image, for both low and high resolution displays. This feature is made possible by the spreet crate from @flother (thank you!). Per MapLibre sprites API, the new feature supports

  • /sprite/<sprite_id>.json metadata about the sprite file - all coming from a single directory
  • /sprite/<sprite_id>.png all images combined into a single PNG
  • /sprite/<sprite_id>@2x.json same but for high DPI devices
  • /sprite/<sprite_id>@2x.png

copy mbtiles tool

mbtiles tool now lets users partially copy an mbtiles file, filtering to specific zooms, and to convert de-duplicated to a flat mbtiles format.
by @upsicleclown in #712, #723

New Contributors

Full Changelog: v0.8.6...v0.8.7