Thank you for the input, it is working.

Following code will suppress the rendering, both of *protected_area and 
nature_reserve* in *bicycle *mode:

<!-- supress protected_area/nature_reserve in bicycle  -->
    <order>
    
        <switch area="true" point="false" addPoint="true" objectType="3" 
order="5">
            <case cycle="true" tag="leisure" value="nature_reserve" order=
"-1"/>
            <case tag="leisure" value="nature_reserve" order="-1"/>
        </switch>
        
        <switch cycle="true" point="false" addPoint="true" objectType="3" 
order="5">
            <case tag="leisure" value="nature_reserve" order="-1"/>
            <case tag="boundary" value="protected_area" order="-1">
            </case>
        </switch>
        
        <switch noPolygons="false">        
            <case minzoom="17" tag="leisure" value="nature_reserve" shader=
"nr3" color_2="#6DE783" strokeWidth_2="1:1">
                    <case nightMode="true" shader="nr3_night" color_2=
"#09821F"/>
                    <apply_if maxzoom="9" strokeWidth_2="0.5"/>
            </case>
            <case minzoom="17" tag="boundary" value="protected_area" shader=
"protected_area">
                    <apply color_2="#4400ae3d">
                        <case maxzoom="13" strokeWidth_2="2:2" pathEffect_2=
"10_5"/>
                        <case minzoom="14" strokeWidth_2="3.5:3.5" 
pathEffect_2="13_8"/>
                    </apply>
            </case>
        </switch>

        <switch appMode="bicycle">
            <switch>
                <apply_if tag="leisure" value="nature_reserve" shader=
"nature_reserve_access_no"/>
                <apply_if tag="boundary" value="protected_area" shader=
"protected_area_access_no"/>
            </switch>
        </switch>

    </order>


-- 
You received this message because you are subscribed to the Google Groups 
"Osmand" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to