Do not include public transport to rendering rules list

This commit is contained in:
Nazar-Kutz 2020-05-07 14:22:09 +03:00
parent 56aff6b1e0
commit aa8d0d5363

View file

@ -158,6 +158,7 @@ public class ConfigureMapMenu {
if (renderer != null) {
for (RenderingRuleProperty p : renderer.PROPS.getCustomRules()) {
if (!RenderingRuleStorageProperties.UI_CATEGORY_HIDDEN.equals(p.getCategory())
&& !TransportLinesMenu.TRANSPORT_RENDERING_CATEGORY.equals(p.getCategory())
&& (useDepthContours || !p.getAttrName().equals("depthContours"))) {
customRules.add(p);
}