Changeset 4431 in josm for trunk/src/org/openstreetmap/josm/data/gpx
- Timestamp:
- 17.09.2011 10:59:32 (8 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/gpx/WayPoint.java
r4282 r4431 74 74 /** 75 75 * <p>Replies the projected east/north coordinates.</p> 76 * 76 * 77 77 * <p>Uses the {@link Main#getProjection() global projection} to project the lan/lon-coordinates. 78 78 * Internally caches the projected coordinates.</p> … … 80 80 * <p><strong>Caveat:</strong> doesn't listen to projection changes. Clients must 81 81 * {@link #reproject() trigger a reprojection} or {@link #invalidateEastNorthCache() invalidate the internal cache}.</p> 82 * 82 * 83 83 * @return the east north coordinates or {@code null} 84 84 * @see #invalidateEastNorthCache() 85 * 85 * 86 86 */ 87 87 public final EastNorth getEastNorth() { … … 123 123 124 124 @Override 125 public Object getTemplateValue(String name) { 126 return attr.get(name); 125 public Object getTemplateValue(String name, boolean special) { 126 if (!special) 127 return attr.get(name); 128 else 129 return null; 127 130 } 128 131
Note: See TracChangeset
for help on using the changeset viewer.
