a***@tiscali.it
2017-10-09 23:06:30 UTC
Iâm trying to change the *peak* icon for *natural=peak* to a cross when the
tag *summit:cross=yes* is used.
Iâm editing the following section in *default.render.xml* for this.
<case minzoom="11" tag="natural" value="peak" iconOrder="65">
<case maxzoom="11" icon="natural_peak" shield="peakvolcano_shield"
iconVisibleSize="25" intersectionSizeFactor="2"/>
<case maxzoom="14" icon="natural_peak" shield="peakvolcano_shield"/>
<case minzoom="15" icon="natural_peak_big" shield="peakvolcano_big_shield"
/>
<apply_if nightMode="true" shield="">
<case minzoom="11" maxzoom="14" icon="natural_peak_night"/>
<case minzoom="15" icon="natural_peak_night_big"/>
</apply_if>
</case>
I cannot succeed to manage the "*additional"* attribute:
additional="summit:cross=yesâ
For instance:
<case additional="summit:cross=yes" icon="âŠ"/>
is never executed.
Also
<apply_if additional="summit:cross=yes" icon="âŠ"/>
appears to be a condition which never occurs.
Iâm testing the code with this feature:
https://www.openstreetmap.org/api/0.6/node/26864320
https://www.openstreetmap.org/node/26864320
Iâd like to get some advise on the correct usage, thanks.
tag *summit:cross=yes* is used.
Iâm editing the following section in *default.render.xml* for this.
<case minzoom="11" tag="natural" value="peak" iconOrder="65">
<case maxzoom="11" icon="natural_peak" shield="peakvolcano_shield"
iconVisibleSize="25" intersectionSizeFactor="2"/>
<case maxzoom="14" icon="natural_peak" shield="peakvolcano_shield"/>
<case minzoom="15" icon="natural_peak_big" shield="peakvolcano_big_shield"
/>
<apply_if nightMode="true" shield="">
<case minzoom="11" maxzoom="14" icon="natural_peak_night"/>
<case minzoom="15" icon="natural_peak_night_big"/>
</apply_if>
</case>
I cannot succeed to manage the "*additional"* attribute:
additional="summit:cross=yesâ
For instance:
<case additional="summit:cross=yes" icon="âŠ"/>
is never executed.
Also
<apply_if additional="summit:cross=yes" icon="âŠ"/>
appears to be a condition which never occurs.
Iâm testing the code with this feature:
https://www.openstreetmap.org/api/0.6/node/26864320
https://www.openstreetmap.org/node/26864320
Iâd like to get some advise on the correct usage, thanks.
--
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 osmand+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
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 osmand+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.