Changeset 25538 in osm for applications/viewer/jmapviewer/src/org/openstreetmap
- Timestamp:
- 2011-03-08T10:36:25+01:00 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/viewer/jmapviewer/src/org/openstreetmap/gui/jmapviewer/tilesources/AbstractOsmTileSource.java
r25369 r25538 80 80 81 81 public boolean requiresAttribution() { 82 return true;82 return false; 83 83 } 84 84 85 85 public String getAttributionText(int zoom, Coordinate topLeft, Coordinate botRight) { 86 return "© OpenStreetMap contributors, CC-BY-SA "; 86 throw new UnsupportedOperationException("no attribution"); 87 //return "\u00a9 OpenStreetMap contributors, CC-BY-SA "; 87 88 } 88 89 89 90 public String getAttributionLinkURL() { 90 return "http://openstreetmap.org/"; 91 throw new UnsupportedOperationException("no attribution"); 92 //return "http://openstreetmap.org/"; 91 93 } 92 94 93 95 public String getTermsOfUseURL() { 94 return "http://www.openstreetmap.org/copyright"; 96 throw new UnsupportedOperationException("no attribution"); 97 //return "http://www.openstreetmap.org/copyright"; 95 98 } 96 99
Note:
See TracChangeset
for help on using the changeset viewer.