001    package org.openstreetmap.gui.jmapviewer.tilesources;
002    
003    import org.openstreetmap.gui.jmapviewer.Coordinate;
004    
005    public class MapQuestOpenAerialTileSource extends AbstractMapQuestTileSource {
006    
007        private static final String PATTERN = "http://oatile%d.mqcdn.com/tiles/1.0.0/sat";
008    
009        public MapQuestOpenAerialTileSource() {
010            super("MapQuest Open Aerial", PATTERN);
011        }
012    
013        @Override
014        public String getAttributionText(int zoom, Coordinate topLeft, Coordinate botRight) {
015            return "Portions Courtesy NASA/JPL-Caltech and U.S. Depart. of Agriculture, Farm Service Agency - "+MAPQUEST_ATTRIBUTION;
016        }
017    
018        @Override
019        public String getAttributionLinkURL() {
020            return MAPQUEST_WEBSITE;
021        }
022    }