bugfix issue 166

git-svn-id: https://osmand.googlecode.com/svn/trunk@662 e29c36b1-1cfa-d876-8d93-3434fc2bb7b8
This commit is contained in:
Victor Shcherb 2010-11-12 19:46:06 +00:00
parent 8f5e132c54
commit 2bbe41fa7d

View file

@ -454,7 +454,7 @@ public class MapRenderingTypes {
// oneway // oneway
String one = e.getTag(OSMTagKey.ONEWAY); String one = e.getTag(OSMTagKey.ONEWAY);
attr <<= 1; attr <<= 1;
if(one != null){ if(one != null && (one.equals("yes") || one.equals("1") || one.equals("-1"))){
attr |= 1; attr |= 1;
} }
return attr; return attr;