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);
|
existing.setAdapter(adapter);
|
||||||
if (editedLayerName != null) {
|
if (editedLayerName != null) {
|
||||||
File f = ((OsmandApplication) activity.getApplication()).getAppPath(
|
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);
|
TileSourceTemplate template = TileSourceManager.createTileSourceTemplate(f);
|
||||||
if (template != null) {
|
if (template != null) {
|
||||||
result[0] = template.copy();
|
result[0] = template.copy();
|
||||||
|
|
Loading…
Reference in a new issue