PATRIK27 / osmdroid

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

CLOUDMADE_KEY is not retrieved from Manifest - So, CloudMadeStandardTiles tileSource doesn't load tiles #159

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Updated my application to latest version of osmdroid (trunk, rev. 784)
2. Resolved errors, related to changes in package names / method signatures, 
etc.

After application started, I just see empty MapView with cells in background. 
Map tiles are not loaded.
I got the following warnings in LogCat: 
02-08 17:45:48.648: 
WARN/org.osmdroid.tileprovider.modules.MapTileDownloader(1133): Tile not found: 
/1/0/1 : java.io.FileNotFoundException: 
http://b.tile.cloudmade.com//1/256/1/0/1.png?token=

As you can see, CLOUDMADE_KEY & CLOUDMADE_TOKEN are not present in URL. I'm 
using CloudmadeStandardTiles tilesource.

Original issue reported on code.google.com by vitaliy....@gmail.com on 8 Feb 2011 at 4:02

GoogleCodeExporter commented 8 years ago
Should I call CloudmadeUtil.retrieveCloudmadeKey(context) manually?
Seems like it was handled inside library earlier.

Original comment by vitaliy....@gmail.com on 8 Feb 2011 at 4:11

GoogleCodeExporter commented 8 years ago
You should call CloudmadeUtil.retrieveCloudmadeKey(context) manually.  The 
sample does that. I guess it should be documented somewhere, but I'm not sure 
where the best place would be. Or it should log a more informative error.

Previously CloudMade didn't use token authorisation (or osmdroid used a 
hard-coded key - I don't remember).  That's why you didn't need to do this 
before.

Original comment by neilboyd on 9 Feb 2011 at 8:43

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

Original comment by neilboyd on 4 Mar 2011 at 3:52