Modify ↓
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 |
Description
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)
Change History (3)
Changed 7 years ago by
Attachment: | patch-layer-manager-no-bounds.patch added |
---|
comment:1 Changed 7 years ago by
Milestone: | → 16.06 |
---|
comment:2 Changed 7 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
In 10371/josm: