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

Workaround for use Leaflet-IIIF v2.0.1 with Leaflet v0.7.7 #76

Merged
merged 2 commits into from
Sep 21, 2019

Conversation

2SC1815J
Copy link
Contributor

Leaflet-IIIF v2.0.1 is significantly faster than v0.2.1 when an explicit tileSize setting is bigger than the default (#56 has not been applied to release-0.2.x).

Since Leaflet-IIIF v2.0.1 is not compatible with Leaflet v0.7.7, I have written a temporary workaround.

I'm not familiar with Leaflet, so I don't know if there's any problem with this workaround, but please use it if you like.

Example:

(If you have a file cache, it may be difficult to see the difference in reading speed. Please check the "Disable cache" box on the developer tools.)

@mejackreed mejackreed merged commit aedf332 into mejackreed:master Sep 21, 2019
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