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

Partial revert of e2fbe196, fixes #4145 #4156

Merged
merged 1 commit into from
Jan 18, 2016
Merged

Partial revert of e2fbe196, fixes #4145 #4156

merged 1 commit into from
Jan 18, 2016

Conversation

IvanSanchez
Copy link
Member

No description provided.

mourner added a commit that referenced this pull request Jan 18, 2016
@mourner mourner merged commit 1726688 into master Jan 18, 2016
@mourner mourner deleted the tile-bounds branch January 18, 2016 13:05
pixelCenter = map.project(center, this._tileZoom).floor(),
halfSize = map.getSize().divideBy(2);
halfSize = map.getSize().divideBy(scale * 2);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Scaling the size does not make sense when you think about it: the map size does not change from one zoom to another. :)

So what this revert do is make Leaflet request too much tiles (like 4 times too much in some round cases), so it seems to be fixing the issue but it's not ;)

@hyperknot hyperknot mentioned this pull request Jan 29, 2016
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.

None yet

3 participants