heprelude / osmdroid

Automatically exported from code.google.com/p/osmdroid
0 stars 0 forks source link

Access to MapQuest Aerial Tiles not working #462

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem? Set tile provider as MapQuest Aerial: 
map.setTileSource(TileSourceFactory.MAPQUESTAERIAL);

What is the expected output? MapQuest aerial tiles. 

What do you see instead? Empty squares. Log cat: 
W/org.osmdroid.tileprovider.modules.MapTileDownloader(233): Problem downloading 
MapTile: /5/15/11 HTTP response: HTTP/1.1 404 Not Found

What version of the product are you using? On what operating system?
osmdroid 3.0.10, on any AVD or phone. 

Reason: 
The current osmdroid implementation of MAPQUESTAERIAL is not in line with 
MapQuest documentation (http://developer.mapquest.com/web/products/open/map). 

Here is the correct implementation in TileSourceFactory.java:
OnlineTileSourceBase MAPQUESTAERIAL = 
    new XYTileSource("MapquestAerial", ResourceProxy.string.mapquest_aerial, 0, 11, 256, ".jpg",
                            "http://otile1.mqcdn.com/tiles/1.0.0/sat/",
                            "http://otile2.mqcdn.com/tiles/1.0.0/sat/",
                            "http://otile3.mqcdn.com/tiles/1.0.0/sat/",
                            "http://otile4.mqcdn.com/tiles/1.0.0/sat/");

Original issue reported on code.google.com by mathieu....@gmail.com on 10 Aug 2013 at 5:43

GoogleCodeExporter commented 8 years ago
Mapquest normal tiles should also have a different URL

Original comment by neilboyd on 13 Aug 2013 at 5:36

GoogleCodeExporter commented 8 years ago

Original comment by neilboyd on 13 Aug 2013 at 5:39

GoogleCodeExporter commented 8 years ago
This issue was closed by revision r1288.

Original comment by neilboyd on 13 Aug 2013 at 5:47