Fixed disappering tracks, rivers and so on plus fixed roads only drawn as shadow.
This commit is contained in:
parent
fc3740c89e
commit
7c958094e8
1 changed files with 4 additions and 4 deletions
|
@ -358,10 +358,10 @@ public class OsmandRenderer {
|
|||
|
||||
for (int k = 0; k < keys.length; k++) {
|
||||
|
||||
if(repeat == true && shadowarray[shadownum] == k){
|
||||
/*if(repeat == true && shadowarray[shadownum] == k){
|
||||
shadownum++;
|
||||
continue;
|
||||
}
|
||||
}*/
|
||||
|
||||
TIntArrayList list = orderMap.get(keys[k]);
|
||||
|
||||
|
@ -388,7 +388,7 @@ public class OsmandRenderer {
|
|||
if(keys[k] > 57 && repeat == false && shadow > 1){
|
||||
shadow = 0;
|
||||
shadownum = 0;
|
||||
k = shadowarray[0];
|
||||
k = shadowarray[0]-1;
|
||||
repeat = true;
|
||||
}
|
||||
}
|
||||
|
@ -950,7 +950,7 @@ public class OsmandRenderer {
|
|||
if(paint.getPathEffect() == null) paint.setColor(0xffbababa);
|
||||
canvas.drawPath(path, paint);
|
||||
}
|
||||
|
||||
else if(shadow == 3) canvas.drawPath(path, paint);
|
||||
|
||||
//check for shadow and save index in array
|
||||
if(shadowRadius > 0 && shadow > 1){
|
||||
|
|
Loading…
Reference in a new issue