Opened 15 years ago

Last modified 12 years ago

#5669 closed defect

Zoom after download is problematic — at Initial Version

Reported by: stanton Owned by: team
Priority: normal Milestone:
Component: Core Version:
Keywords: Cc:

Description

When downloading an area, JOSM will automatically zoom to it.

When downloading a single relation through the remote control plugin, using a link (e.g. http://localhost:8111/import?url=http://api.openstreetmap.org/api/0.6/relation/1274563), JOSM will zoom all the way out (such that the whole world will fit into the window).

When a WMS layer is active and visible, this behavior causes JOSM to freeze. Switching the WMS layer to invisible will prevent this behavior.

On a side note, this auto-zoom behavior is not always desirable anyway (can get annoying when downloading an additional area while editing).

I would suggest making the zoom behavior configurable:

  • A check box in the download dialog (Zoom to selected area after download)
  • A check box to enable/disable zoom on areas downloaded via Remote Control, possibly dependent on object downloaded (e.g. zoom on ways but not on relations and not on points)
  • Do not zoom out if download area is larger than user-configurable threshold

I'm tagging component as "unspecified" as it may affect multiple components (Plugin remote control, core, possibly plugin WMS)

Change History (0)

Note: See TracTickets for help on using tickets.