Try to add currentTrackWidth support (used in UniRS)
This commit is contained in:
parent
25f2d47347
commit
ee4f71b84f
1 changed files with 7 additions and 0 deletions
|
@ -150,6 +150,13 @@ public class GPXLayer extends OsmandMapLayer implements ContextMenuLayer.IContex
|
||||||
req.setStringFilter(ctColor, p.get());
|
req.setStringFilter(ctColor, p.get());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
CommonPreference<String> p2 = view.getSettings().getCustomRenderProperty("currentTrackWidth");
|
||||||
|
if(p2 != null && p2.isSet()) {
|
||||||
|
RenderingRuleProperty ctWidth = rrs.PROPS.get("currentTrackWidth");
|
||||||
|
if(ctWidth != null) {
|
||||||
|
req.setStringFilter(ctWidth, p2.get());
|
||||||
|
}
|
||||||
|
}
|
||||||
String additional = "";
|
String additional = "";
|
||||||
if (routePoints) {
|
if (routePoints) {
|
||||||
additional = "routePoints=true";
|
additional = "routePoints=true";
|
||||||
|
|
Loading…
Reference in a new issue