#3985 closed defect (duplicate)
Slippymap seems to be limited to z18
| Reported by: | Bürste | Owned by: | framm |
|---|---|---|---|
| Priority: | major | Milestone: | |
| Component: | Core imagery | Version: | |
| Keywords: | Cc: | hansendc |
Description
If you use slippymap with nearmap you realize that it seems to be limited to z18 and not supporting zoomlevels up to 23 which nearmap sometimes provide.
Attachments (0)
Change History (8)
comment:1 by , 16 years ago
| Cc: | added |
|---|---|
| Resolution: | → fixed |
| Status: | new → closed |
comment:2 by , 16 years ago
| Resolution: | fixed |
|---|---|
| Status: | closed → reopened |
Costom source in JOSM preferences is used.
slippymap.autoload_tiles=false slippymap.autozoom=false slippymap.custom_tile_source_1.ext=jpg slippymap.custom_tile_source_1.name=Nearmap via localhost slippymap.custom_tile_source_1.url=http://127.0.0.1/imagery slippymap.draw_debug=false slippymap.fade_background=0.0 slippymap.last_zoom_lvl=14 slippymap.max_zoom_lvl=21 slippymap.min_zoom_lvl=9
Started with these configuration and zooming in leads to this console output:
GET http://api.openstreetmap.org/api/capabilities... OK Kommunikation mit http://api.openstreetmap.org/api mittels Protokollversion 0.6 etabliert. GET http://api.openstreetmap.org/api/0.6/map?bbox=7.193748950958252,51.179578379 7173,7.194961309432983,51.180136610212976 found new tile source: 'Nearmap via localhost' url:'http://127.0.0.1/imagery'' e xt:'jpg' clicked on tile: 8519 5471 scale: null currentZoomLevel: 14 clicked on tile: 17038 10943 scale: null currentZoomLevel: 15 clicked on tile: 34077 21887 scale: null currentZoomLevel: 16 clicked on tile: 17038 10943 scale: null currentZoomLevel: 15 clicked on tile: 34077 21887 scale: null currentZoomLevel: 16 clicked on tile: 68155 43775 scale: null currentZoomLevel: 17 clicked on tile: 136310 87551 scale: null currentZoomLevel: 18 current zoom lvl (18) couldnt be increased. MaxZoomLvl (18) reached. clicked on tile: 136310 87551 scale: null currentZoomLevel: 18 current zoom lvl (18) couldnt be increased. MaxZoomLvl (18) reached. clicked on tile: 136310 87551 scale: null currentZoomLevel: 18 current zoom lvl (18) couldnt be increased. MaxZoomLvl (18) reached.
Very simple zoom-in without any tile is requested doesn't work.
Btw: I know nearmap doesn't have any tiles in this region, just an example.
comment:3 by , 16 years ago
Again, this is only a limitation of the Custom tile sources. We choose something sane that works for things like mapnik.
I understand that it's confusing to have the slippymap.max_zoom_lvl=21, *AND* a per tilesource max.
I've updated the preference GUI code to not let you appear to set things outside of the tile source range. Is there something else that you think should be done?
comment:6 by , 16 years ago
So heres the bug, cause if you would add a source, it should be possible to configure.
We might set it to 30 and doesn't care about it. Because the user can configure the zoom levels he want to use in the configuration.
comment:7 by , 15 years ago
| Resolution: | → duplicate |
|---|---|
| Status: | reopened → closed |



I'm doing that right now, zoomed in to level 21. I think you may be referring to the "custom" tile sources that can be read from the JOSM preferences. But, it looks to be working fine with nearmap. The zoom limits should come entirely from the TileSource classes now.
Let me know if this isn't working for you. Please reopen and I'll get it fixed.