<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Good news everybody!<div><br></div><div>As of just now, OpenStreetPad supports this new syntax:</div><div><br></div><div><a href="https://github.com/beelsebob/OpenStreetPad/commit/3a80d757a4cee1c9f5308e6774a8d2f1f50f9769">https://github.com/beelsebob/OpenStreetPad/commit/3a80d757a4cee1c9f5308e6774a8d2f1f50f9769</a></div><div><br></div><div>Bob<br><div apple-content-edited="true">
<div><span class="Apple-style-span" style="font-family: Arial; "><pre>if (*ra4 != 0xffc78948) { return false; }</pre></span></div>
</div>
<br><div><div>On 6 Feb 2012, at 09:27, Richard Fairhurst wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div>Hi all,<br><br>I'd like to suggest a little 'easement' to make MapCSS syntax less verbose in one particular case.<br><br>Right now, if you want to use a tag value in a declaration, you need to fire up the eval parser:<br><span class="Apple-tab-span" style="white-space:pre">        </span>way[highway] { width: eval("tag('lanes')"); }<br><br>It'd be more pleasant, and more efficient, to allow this too:<br><span class="Apple-tab-span" style="white-space:pre">  </span>way[highway] { width: tag('lanes'); }<br><br>and it's quite CSS-like, because you can of course use a similar syntax in Real CSS:<br><span class="Apple-tab-span" style="white-space:pre">     </span>way[highway] { color: rgb(0,0,0); }<br><br>cheers<br>Richard<br><br><br>_______________________________________________<br>Mapcss mailing list<br><a href="mailto:Mapcss@openstreetmap.org">Mapcss@openstreetmap.org</a><br>http://lists.openstreetmap.org/listinfo/mapcss<br></div></blockquote></div><br></div></body></html>