Their X-Ray view works out of vector tiles data.
Your feature looks nice, but would it be possible to make the theme
see-through / outline-only? I think people would like it a lot!
The great thing would be to visualise if there is _anything_ on a
given place, so that I know if something is not displaying because of
a wrong query, or because it's actually missing from the data. But I
don't know enough about XML themes to know how to show everything.
Here is my first try:
<?xml version="1.0" encoding="UTF-8"?>
<rendertheme map-background="#000000" version="1"
<m e="node">
<circle fill="#ffffff" radius="10" scale-radius="true"/>
<caption dy="-20" fill="#ffffff" k="name" size="14"/>
</m>
<m e="way">
<m k="highway">
<line stroke="#00ff00" stroke-width="2.0"/>
<caption dy="-20" fill="#00ff00" k="name" size="14" zoom-min="14"/>
</m>
<m k="contour_ext">
<line stroke="#ffffff" stroke-width="2.0"/>
</m>
<m k="highway" v="~|no|false">
<line stroke="#5a68f6" stroke-width="2.0"/>
<caption dy="-20" fill="#5a68f6" k="name" size="14" zoom-min="14"/>
</m>
</m>
</rendertheme>
Obviously some things are not clear to me:
- is there a general way to do if-else? For example I'd like to query
all elements which have not been colored so far, but all I could do is
select non-highway. Thus it's overriding my contour lines part.
- How can I do zoom-min on a caption? It doesn't work the way I wrote.
Zsolt
>
https://groups.google.com/d/msgid/mapsforge-dev/a40bd8f6-5d14-efc4-0f86-f60ee2e13230%40gmail.com.