Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve tile overlap. #997

Merged
merged 2 commits into from
May 16, 2019
Merged

Improve tile overlap. #997

merged 2 commits into from
May 16, 2019

Conversation

manthey
Copy link
Contributor

@manthey manthey commented Apr 30, 2019

The common tile server with overlapping tiles is deep zoom. Tiles in the center of the image have overlap on all four sides, but tiles at the edges don't overlap past the conceptual image space. We properly handled the right and bottom, but the top and left edges were expecting tiles that were larger than deep zoom was providing. For instance, a 256x256 tile with an overlap of 1 produces a 258x258 tile in the center, but a 257x257 tile at the upper left and a 257x258 else on the left edge. This handles those properly.

The deepzoom example also maintains query parameters, making it easier to modify for testing.

The common tile server with overlapping tiles is deep zoom.  Tiles in
the center of the image have overlap on all four sides, but tiles at the
edges don't overlap past the conceptual image space.  We properly
handled the right and bottom, but the top and left edges were expecting
tiles that were larger than deep zoom was providing.  For instance, a
256x256 tile with an overlap of 1 produces a 258x258 tile in the center,
but a 257x257 tile at the upper left and a 257x258 else on the left
edge.  This handles those properly.

The deepzoom example also maintains query parameters, making it easier
to modify for testing.
@manthey manthey merged commit a89f8fa into master May 16, 2019
@manthey manthey deleted the improve-tile-overlap branch May 16, 2019 20:42
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