Skip to content

Conversation

k-yle
Copy link

@k-yle k-yle commented Apr 14, 2025

What's changing

If you want to use a different tileserver, simply changing TILE_SIZE is not sufficient. There are some other hardcoded constants that need to be changed.

This PR replaces those other magic numbers with the TILE_SIZE constant.

How to test it

Steps to test the changes:

  1. change TILE_SIZE to a custom value & use a different tileserver
  2. notice how the maths still works

Additional notes for reviewers

I already...

  • Tested the changes in a working environment to ensure they work as expected
  • Added some tests for any new functionality
  • Updated the documentation (both comments in code and under /docs)

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.

1 participant