Skip to content

Conversation

@TurtIeSocks
Copy link
Collaborator

@TurtIeSocks TurtIeSocks commented Oct 23, 2022

  • Add support for dawn and dusk tile sets
  • Change isNight boolean to timeOfDay string
  • Bump suncalc version
  • New format for tileservers in the config
  • Should be backwards compatible
  • Uses url key as a backup if a style is missing, for example if it's "dusk" but you only have day and night tiles, it uses whatever is set in url next
    {
      "name": "Pogo",
      "attribution": "NPlumb",
      "url": "https://your_custom_tileserver/tile/pogo_day/{z}/{x}/{y}/2/png",
      "day": "https://your_custom_tileserver/tile/pogo_day/{z}/{x}/{y}/2/png",
      "night": "https://your_custom_tileserver/tile/pogo_night/{z}/{x}/{y}/2/png",
      "dawn": "https://your_custom_tileserver/tile/pogo_dawn/{z}/{x}/{y}/2/png",
      "dusk": "https://your_custom_tileserver/tile/pogo_dusk/{z}/{x}/{y}/2/png"
    },

- Add support for dawn and dusk tile sets
- Change isNight boolean to timeOfDay string
- Bump suncalc version
- New format for tileservers in the config
- Should be backwards compatible
@TurtIeSocks TurtIeSocks merged commit 3f14a16 into develop Oct 23, 2022
@TurtIeSocks TurtIeSocks deleted the dawn-dusk-tile-support branch October 23, 2022 18:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants