Fixed issue 304
- the extension of images .png, .jpg etc must be determined from the files and not hardcoded to .jpg git-svn-id: https://osmand.googlecode.com/svn/trunk@891 e29c36b1-1cfa-d876-8d93-3434fc2bb7b8
This commit is contained in:
parent
12e7ed5c71
commit
e94e415f43
1 changed files with 1 additions and 1 deletions
|
@ -479,7 +479,7 @@ public class OsmandSettings {
|
|||
} catch (IOException e) {
|
||||
Log.d(LogUtil.TAG, "Error reading url " + dir.getName(), e); //$NON-NLS-1$
|
||||
}
|
||||
return new TileSourceManager.TileSourceTemplate(dir.getName(), url);
|
||||
return new TileSourceManager.TileSourceTemplate(dir, dir.getName(), url);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue