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