Modify ↓
Opened 9 years ago
Closed 9 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)
by , 9 years ago
| Attachment: | patch-layer-manager-no-bounds.patch added |
|---|
comment:1 by , 9 years ago
| Milestone: | → 16.06 |
|---|
comment:2 by , 9 years ago
| Resolution: | → fixed |
|---|---|
| Status: | new → closed |
Note:
See TracTickets
for help on using tickets.



In 10371/josm: