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.

-- 
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