Skip to content

Releases: 123FLO321/SwiftTileserverCache

Move to Vapor

19 Sep 19:19
81a5223
Compare
Choose a tag to compare
  • Moved backend to Vapor
  • Use Leaf for templating (Check updated README)
  • Added pregenerate option (Can be used instead of link-shortenesr. Check updated README)
  • Added option to use local markers (Markers directory. Check updated docker-compose.yml)
  • Added option to add circles to staticmaps (circles. Check updated docker-compose.yml)
  • Added POST support for templating
  • Removed deprecated /static route
  • Modified all routes to be event-driven and none blocking
  • Improved performance
  • Update to Swift 5.2

Template Cache Cleaning + Circles

14 Sep 18:26
Compare
Choose a tag to compare
Pre-release
  • Automatically clear templates from cache on changes
  • Add support for circles (check updated README)
  • Misc fixes

Require content type image for markers

15 Aug 09:31
Compare
Choose a tag to compare
Pre-release
  • Limit markers to content type image/* to avoid imagemagick errors

Skip Markers outside of StaticMap-bounds

03 Aug 18:34
Compare
Choose a tag to compare
  • skip markers outside of view bounds

Fix HitRatio for Tiles

01 Aug 13:34
8935c8b
Compare
Choose a tag to compare
Pre-release
  • Fix a problem where hit ratio for tiles was not correctly counted

Add Fallback marker options

28 Jul 18:14
Compare
Choose a tag to compare
Pre-release
  • Markers can now have a fallback url specified using fallback_url per marker

Fix Templating Errors with new Leaf update

21 Jun 20:54
Compare
Choose a tag to compare
  • Fixes a problem where templates no longer worked in the latest Leaf update

Support for External Tile Providers

21 Jun 20:25
Compare
Choose a tag to compare
Pre-release
  • Adds an option to add external tile providers
  • Can be used for Tiles and StaticMap/MultiStaticMap like all other styles
  • Example (add to environment):
    • TILE_URL_MAPBOX_SATTELITE: https://api.mapbox.com/v4/mapbox.satellite/{z}/{x}/{y}{@scale}.{format}?access_token=xxx
    • TILE_URL_GOOGLE_SATTELITE: http://mt0.google.com/vt/lyrs=s,h&x={x}&y={y}&z={z}&scale={scale}
    • Style name is then available in kebab-case(in this case: mapbox-sattelite and google-sattelite)

Added POST support for templates

20 Jun 17:40
Compare
Choose a tag to compare
Pre-release
  • Adds POST support to for templating routes (Uses post-body in JSON format for templating enviroment)

Improved Cache Cleaning

17 Jun 17:43
Compare
Choose a tag to compare
  • Improved performance and reliability of cache cleaner
  • Cleanup logging