Modify

Ticket #3985 (closed defect: duplicate)

Opened 2 years ago

Last modified 8 months ago

Slippymap seems to be limited to z18

Reported by: Bürste Owned by: framm
Priority: major Component: Plugin slippymap
Version: Keywords:
Cc: dave@…

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

Change History

comment:1 Changed 2 years ago by hansendc

  • Cc dave@… added
  • Status changed from new to closed
  • Resolution set to fixed

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.

comment:2 Changed 2 years ago by Bürste

  • Status changed from closed to reopened
  • Resolution fixed deleted

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 Changed 2 years ago by hansendc

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:4 Changed 2 years ago by Bürste

Were do I set the tilesource maximum zoom level on custom sources?

comment:5 Changed 2 years ago by anonymous

It isn't runtime configurable. It is staticallyset to 18.

comment:6 Changed 2 years ago by Bürste

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 Changed 8 months ago by stoecker

  • Status changed from reopened to closed
  • Resolution set to duplicate

comment:8 Changed 8 months ago by stoecker

Closed as duplicate of #3971.

View

Add a comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
as The resolution will be set. Next status will be 'closed'
The resolution will be deleted. Next status will be 'reopened'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.