mirror of
https://github.com/protomaps/PMTiles.git
synced 2026-02-04 10:51:07 +00:00
fix root dir writing, refactor js getZxy
This commit is contained in:
@@ -47,6 +47,7 @@ class Reader:
|
||||
def root_entries(self):
|
||||
return int.from_bytes(self.mmap[8:10],byteorder='little')
|
||||
|
||||
# TODO support recursive directories
|
||||
def get(self,z,x,y):
|
||||
val = self.root_dir.get((z,x,y))
|
||||
if val:
|
||||
|
||||
Reference in New Issue
Block a user