Opened 14 years ago
Closed 14 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)
Changed 14 years ago by
Attachment: | slippymap_min_zoom_level.patch added |
---|
comment:1 Changed 14 years ago by
Summary: | SlippyMap: Max zoom level gets set to negative values → [PATCH] SlippyMap: Max zoom level gets set to negative values |
---|
comment:2 Changed 14 years ago by
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 Changed 14 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
fixed in [o17433] (plugin is [o17434]
Minimal patch to fix this problem