Skip to content

Commit

Permalink
Merge pull request #14 from alegonzalezc/master
Browse files Browse the repository at this point in the history
MapSource class methods for get max/min zoom doesn't work properly
  • Loading branch information
tito committed Aug 16, 2016
2 parents 571d074 + 5609baf commit 57d9d0a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mapview/source.py
Original file line number Diff line number Diff line change
Expand Up @@ -128,12 +128,12 @@ def get_col_count(self, zoom):
def get_min_zoom(self):
"""Return the minimum zoom of this source
"""
return 0
return self.min_zoom

def get_max_zoom(self):
"""Return the maximum zoom of this source
"""
return 19
return self.max_zoom

def fill_tile(self, tile):
"""Add this tile to load within the downloader
Expand Down

0 comments on commit 57d9d0a

Please sign in to comment.