Merge pull request #8392 from osmandapp/Fix_7752
Fix edit mapillary source
This commit is contained in:
commit
8739603393
1 changed files with 1 additions and 1 deletions
|
@ -514,7 +514,7 @@ public class OsmandRasterMapsPlugin extends OsmandPlugin {
|
|||
existing.setAdapter(adapter);
|
||||
if (editedLayerName != null) {
|
||||
File f = ((OsmandApplication) activity.getApplication()).getAppPath(
|
||||
IndexConstants.TILES_INDEX_DIR + templates.get(adapter.getPosition(editedLayerName)));
|
||||
IndexConstants.TILES_INDEX_DIR + editedLayerName);
|
||||
TileSourceTemplate template = TileSourceManager.createTileSourceTemplate(f);
|
||||
if (template != null) {
|
||||
result[0] = template.copy();
|
||||
|
|
Loading…
Reference in a new issue