Opened 7 years ago

Closed 7 years ago

#12944 closed enhancement (fixed)

[Patch] Reduce use of addLayer(..., bounds)

Reported by: michael2402 Owned by: team
Priority: normal Milestone: 16.06
Component: Core Version:
Keywords: gsoc-core Cc: Don-vip, bastiK, stoecker


Do not provide the bounds in the addLayer method - let the layer compute it.

This allows us to remove the addLayer(..., bounds) methods later.

Remaining uses of addLayer(..., bounds) and addLayer(..., viewport)

  • org.openstreetmap.josm.actions.SessionLoadAction.Loader.addLayers()

If we remove that one use session loading takes slightly longer but this should be no problem.

Attachments (1)

patch-layer-manager-no-bounds.patch (5.8 KB) - added by michael2402 7 years ago.

Download all attachments as: .zip

Change History (3)

Changed 7 years ago by michael2402

comment:1 Changed 7 years ago by michael2402

Milestone: 16.06

comment:2 Changed 7 years ago by Don-vip

Resolution: fixed
Status: newclosed

In 10371/josm:

fix #12944 - Reduce use of addLayer(..., bounds) - patch by michael2402 - gsoc-core

Modify Ticket

Change Properties
Set your email in Preferences
as closed The owner will remain team.
as The resolution will be set.
The resolution will be deleted.

Add Comment

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

Note: See TracTickets for help on using tickets.