Opened 15 years ago
Closed 15 years ago
#3373 closed defect (fixed)
[PATCH] SlippyMap: Max zoom level gets set to negative values
Reported by: | podolsir | Owned by: | team |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | Plugin | Version: | latest |
Keywords: | Cc: |
Description
On a fresh install of JOSM latest with SlippyMap (r16805 or SVN trunk) plugin, the slippy map layer doesn't show the map but only grey tiles with the message "image pending download". The max zoom level setting gets reset to negative values after activation of the slippy map; the value gets lower with time.
The cause seems to be in SlippyMapPreferences class in the getMinZoomLvlMethod with should set min_zoom_level to (max_zoom_level - 4) in case the slippymap.min_zoom_level preference is not set. Probably by virtue of a typo, the method sets the slippy_map.max_zoom_level property so min_zoom_level never gets set and the max zoom level value becomes negative (and invalid).
Attachments (1)
Change History (5)
by , 15 years ago
Attachment: | slippymap_min_zoom_level.patch added |
---|
comment:1 by , 15 years ago
Summary: | SlippyMap: Max zoom level gets set to negative values → [PATCH] SlippyMap: Max zoom level gets set to negative values |
---|
comment:2 by , 15 years ago
This seems to be related, if not even duplicate, with ticket #2986. Sorry for creating a new one, I missed that yesterday somehow...
comment:4 by , 15 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
fixed in [o17433] (plugin is [o17434]
Minimal patch to fix this problem