| Revision 4126,
213 bytes
checked in by bastiK, 12 months ago
(diff) |
|
memory optimizations for Node & WayPoint (Patch by Gubaer, modified)
The field 'proj' in CachedLatLon is a waste of memory. For the 2 classes where this has the greatest impact, the cache for the projected coordinates is replaced by 2 simple double fields (east & north). On projection change, they have to be invalidated explicitly. This is handled by the DataSet & the GpxLayer.
|
-
Property svn:eol-style set to
native
|
| Line | |
|---|
| 1 | // License: GPL. For details, see LICENSE file. |
|---|
| 2 | package org.openstreetmap.josm.data.projection; |
|---|
| 3 | |
|---|
| 4 | public interface ProjectionChangeListener { |
|---|
| 5 | void projectionChanged(Projection oldValue, Projection newValue); |
|---|
| 6 | } |
|---|
Note: See
TracBrowser
for help on using the repository browser.