Last change
on this file since 9230 was 4126, checked in by bastiK, 13 years ago |
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
|
File size:
213 bytes
|
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.