Skip to content

Conversation

@WMDE-Fisch
Copy link

This never worked before. The calculation for sizes other than 1 did use the right center point for the static image.

The patch fixes that and also adjusts the test for it.

The code is currently used in a different fork that's deployed on the servers used here:

https://maps.wikimedia.org/img/osm-intl,18,43.748,7.434,400x400.png
https://maps.wikimedia.org/img/osm-intl,18,43.748,7.434,[email protected]

@2x zooms the stitched tiles.

There's also an older pull request that's a bit outdated now. #39

This never worked before. The calculation for sizes other than 1
did use the right center point for the static image.

The patch fixes that and also adjusts the test for it.
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