Changeset 33332 in osm for applications/viewer/jmapviewer/src/org
- Timestamp:
- 2017-05-25T19:00:53+02:00 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/viewer/jmapviewer/src/org/openstreetmap/gui/jmapviewer/AttributionSupport.java
r32030 r33332 102 102 g.setFont(ATTR_FONT); 103 103 String attributionText = source.getAttributionText(zoom, topLeft, bottomRight); 104 if (attributionText == null) { 105 // In case attribution text has been forgotte, display URL 106 attributionText = source.getAttributionLinkURL(); 107 } 104 108 if (attributionText != null) { 105 109 Rectangle2D stringBounds = g.getFontMetrics().getStringBounds(attributionText, g);
Note:
See TracChangeset
for help on using the changeset viewer.