Ignore:
Timestamp:
2011-03-08T10:36:25+01:00 (14 years ago)
Author:
bastik
Message:

fix josm bug #6075 - the attribution is not generic and has to come from ImageryInfo or similar. This change removes attribution from osm layers again.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • applications/viewer/jmapviewer/src/org/openstreetmap/gui/jmapviewer/tilesources/AbstractOsmTileSource.java

    r25369 r25538  
    8080
    8181    public boolean requiresAttribution() {
    82         return true;
     82        return false;
    8383    }
    8484
    8585    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 ";
    8788    }
    8889
    8990    public String getAttributionLinkURL() {
    90         return "http://openstreetmap.org/";
     91        throw new UnsupportedOperationException("no attribution");
     92        //return "http://openstreetmap.org/";
    9193    }
    9294
    9395    public String getTermsOfUseURL() {
    94         return "http://www.openstreetmap.org/copyright";
     96        throw new UnsupportedOperationException("no attribution");
     97        //return "http://www.openstreetmap.org/copyright";
    9598    }
    9699
Note: See TracChangeset for help on using the changeset viewer.