bugfix issue 166
git-svn-id: https://osmand.googlecode.com/svn/trunk@662 e29c36b1-1cfa-d876-8d93-3434fc2bb7b8
This commit is contained in:
parent
8f5e132c54
commit
2bbe41fa7d
1 changed files with 3 additions and 3 deletions
|
@ -454,9 +454,9 @@ public class MapRenderingTypes {
|
|||
// oneway
|
||||
String one = e.getTag(OSMTagKey.ONEWAY);
|
||||
attr <<= 1;
|
||||
if(one != null){
|
||||
attr |= 1;
|
||||
}
|
||||
if(one != null && (one.equals("yes") || one.equals("1") || one.equals("-1"))){
|
||||
attr |= 1;
|
||||
}
|
||||
return attr;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue