Skip to content

Commit

Permalink
Mapsforge themes: fix default position tag opensciencemap#100
Browse files Browse the repository at this point in the history
  • Loading branch information
devemux86 committed Oct 12, 2017
1 parent e3f2f19 commit b3f6899
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vtm/src/org/oscim/theme/XmlMapsforgeThemeBuilder.java
Original file line number Diff line number Diff line change
Expand Up @@ -1024,7 +1024,7 @@ else if ("symbol-scaling".equals(name))
else if ("position".equals(name)) {
// Until implement position..
if (b.dy == 0) {
value = "below".equals(value) ? "-20" : "20";
value = "above".equals(value) ? "20" : "-20";
// NB: minus..
b.dy = -Float.parseFloat(value) * mScale;
}
Expand Down

0 comments on commit b3f6899

Please sign in to comment.