Commit af0ae404 authored by Thomas Albrecht's avatar Thomas Albrecht

tile_index now accepts a list instead of two parameters. Makes it compatible...

tile_index now accepts a list instead of two parameters. Makes it compatible with transform.toGlobal() output.
parent c96ef5e2
......@@ -17,7 +17,7 @@ def bucket_span(lat):
if alat >= 22: return .25
return .125
def tile_index(lon, lat):
def tile_index((lon, lat)):
tile_width = bucket_span(lat)
EPSILON = 0.0000001
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment