We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
nuff said
The text was updated successfully, but these errors were encountered:
@jthornbrue just
change all xrange to range
@staticmethod def pixel_to_tile(pixel): """Transform pixel to tile coordinates""" return pixel[0] / 256, pixel[1] / 256
change to
@staticmethod def pixel_to_tile(pixel): """Transform pixel to tile coordinates""" return pixel[0] // 256, pixel[1] // 256
Sorry, something went wrong.
If you do make that change, PR it and I'll merge it into master.
On Tue, Mar 1, 2016 at 2:18 PM, LennyLip [email protected] wrote:
@jthornbrue https://github.com/jthornbrue just change all xrange to range @staticmethod def pixel_to_tile(pixel): """Transform pixel to tile coordinates""" return pixel[0] / 256, pixel[1] / 256 # here change to @staticmethod def pixel_to_tile(pixel): """Transform pixel to tile coordinates""" return pixel[0] // 256, pixel[1] // 256 # here — Reply to this email directly or view it on GitHub #10 (comment).
@jthornbrue https://github.com/jthornbrue just
@staticmethod def pixel_to_tile(pixel): """Transform pixel to tile coordinates""" return pixel[0] / 256, pixel[1] / 256 # here
@staticmethod def pixel_to_tile(pixel): """Transform pixel to tile coordinates""" return pixel[0] // 256, pixel[1] // 256 # here
— Reply to this email directly or view it on GitHub #10 (comment).
@buckheroux www.buckheroux.com
#11
No branches or pull requests
nuff said
The text was updated successfully, but these errors were encountered: