-
Notifications
You must be signed in to change notification settings - Fork 129
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
Adjusts tile xy value when coordinates are out of bounds #84
Conversation
@javisantana review! |
is there a reason why here (https://github.com/CartoDB/torque/blob/coord-wrap/lib/torque/provider/windshaft.js#L296) corrected is not used? |
Yep: we need to callback the tile rendering function with the original tile numbers, not the corrected ones, otherwise they will only render in the "corrected" tile positions (i.e. the ones within the normal coordinate ranges). We only need corrected values to ask the server for the right tiles. |
nice, thanks 🇪🇸 |
|
Adjusts tile xy value when coordinates are out of bounds
Ref #82
Same problem, I was using the wrong branch in the previous PR.
@javisantana