001    package org.openstreetmap.gui.jmapviewer.tilesources;
002    
003    import org.openstreetmap.gui.jmapviewer.Coordinate;
004    
005    public class MapQuestOsmTileSource extends AbstractMapQuestTileSource {
006    
007        private static final String PATTERN = "http://otile%d.mqcdn.com/tiles/1.0.0/osm";
008    
009        public MapQuestOsmTileSource() {
010            super("MapQuest-OSM", PATTERN);
011        }
012        
013        @Override
014        public String getAttributionText(int zoom, Coordinate topLeft,
015                Coordinate botRight) {
016            return super.getAttributionText(zoom, topLeft, botRight)+"- "+MAPQUEST_ATTRIBUTION;
017        }
018    }