Render themes: highway ref captions #41

This commit is contained in:
Emux 2017-10-04 20:24:29 +03:00
parent a06ea5492e
commit 76582da497
7 changed files with 365 additions and 74 deletions

View File

@ -11,8 +11,10 @@
<style-text style="bold" fill="#101010" id="major-road" k="name" priority="1" size="16"
stroke="#eeeeee" stroke-width="2.0" />
<style-text style="bold" fill="#606060" id="ref" k="ref" priority="2" size="12" stroke="#ffffff"
<style-text style="bold" fill="#ffffff" id="ref" k="ref" priority="2" size="12" stroke="#215e8f"
stroke-width="2.0" />
<style-text caption="true" id="ref-caption" use="ref" />
<style-text style="bold" fill="#606060" id="ferry" k="name" size="12" stroke="#ffffff"
stroke-width="2.0" />
@ -493,21 +495,36 @@
<m v="primary">
<line outline="0" use="primary:z11" />
<text use="major-road" />
<m zoom-max="12">
<text use="ref-caption" />
</m>
<m zoom-min="13">
<text use="ref" />
</m>
</m>
<m v="trunk">
<line blur="0.3" outline="0" use="trunk" />
<!-- <outline use="glow"/> -->
<text use="major-road" />
<m zoom-max="12">
<text use="ref-caption" />
</m>
<m zoom-min="13">
<text use="ref" />
</m>
</m>
<m v="motorway">
<line blur="0.3" outline="0" use="highway:z11" />
<!-- <outline use="glow"/> -->
<text use="major-road" />
<m zoom-max="12">
<text use="ref-caption" />
</m>
<m zoom-min="13">
<text use="ref" />
</m>
</m>
</m>
<!-- railway tunnel -->
<m k="railway">
<!-- <m v="tram|subway|light_rail|narrow_gauge">
@ -730,18 +747,33 @@
<m v="primary">
<line outline="primary" use="primary:z11" />
<text use="major-road" />
<m zoom-max="12">
<text use="ref-caption" />
</m>
<m zoom-min="13">
<text use="ref" />
</m>
</m>
<m v="trunk">
<line outline="motorway" use="trunk" />
<text use="major-road" />
<m zoom-max="12">
<text use="ref-caption" />
</m>
<m zoom-min="13">
<text use="ref" />
</m>
</m>
<m v="motorway">
<line outline="motorway" use="highway:z11" />
<text use="major-road" />
<m zoom-max="12">
<text use="ref-caption" />
</m>
<m zoom-min="13">
<text use="ref" />
</m>
</m>
</m> <!-- end area=~|no|false -->
</m><!-- end tunnel|bridge=~|no|false -->
@ -818,19 +850,34 @@
<m v="primary">
<line cap="butt" outline="bridge" use="primary:z11" />
<text use="major-road" />
<m zoom-max="12">
<text use="ref-caption" />
</m>
<m zoom-min="13">
<text use="ref" />
</m>
</m>
<m v="trunk">
<line cap="butt" outline="bridge" use="trunk" />
<text use="major-road" />
<m zoom-max="12">
<text use="ref-caption" />
</m>
<m zoom-min="13">
<text use="ref" />
</m>
</m>
<m v="motorway">
<line cap="butt" outline="bridge" use="highway:z11" />
<text use="major-road" />
<m zoom-max="12">
<text use="ref-caption" />
</m>
<m zoom-min="13">
<text use="ref" />
</m>
</m>
</m>
</m><!-- end area=~|no|false -->

View File

@ -11,8 +11,10 @@
<style-text style="bold" fill="#101010" id="major-road" k="name" priority="1" size="16"
stroke="#eeeeee" stroke-width="2.0" />
<style-text style="bold" fill="#606060" id="ref" k="ref" priority="2" size="12" stroke="#ffffff"
<style-text style="bold" fill="#ffffff" id="ref" k="ref" priority="2" size="12" stroke="#215e8f"
stroke-width="2.0" />
<style-text caption="true" id="ref-caption" use="ref" />
<style-text style="bold" fill="#606060" id="ferry" k="name" size="12" stroke="#ffffff"
stroke-width="2.0" />
@ -490,21 +492,36 @@
<m v="primary">
<line outline="0" use="primary:z11" />
<text use="major-road" />
<m zoom-max="12">
<text use="ref-caption" />
</m>
<m zoom-min="13">
<text use="ref" />
</m>
</m>
<m v="trunk">
<line blur="0.3" outline="0" use="trunk" />
<!-- <outline use="glow"/> -->
<text use="major-road" />
<m zoom-max="12">
<text use="ref-caption" />
</m>
<m zoom-min="13">
<text use="ref" />
</m>
</m>
<m v="motorway">
<line blur="0.3" outline="0" use="highway:z11" />
<!-- <outline use="glow"/> -->
<text use="major-road" />
<m zoom-max="12">
<text use="ref-caption" />
</m>
<m zoom-min="13">
<text use="ref" />
</m>
</m>
</m>
<!-- railway tunnel -->
<m k="railway">
<!-- <m v="tram|subway|light_rail|narrow_gauge">
@ -727,18 +744,33 @@
<m v="primary">
<line outline="primary" use="primary:z11" />
<text use="major-road" />
<m zoom-max="12">
<text use="ref-caption" />
</m>
<m zoom-min="13">
<text use="ref" />
</m>
</m>
<m v="trunk">
<line outline="motorway" use="trunk" />
<text use="major-road" />
<m zoom-max="12">
<text use="ref-caption" />
</m>
<m zoom-min="13">
<text use="ref" />
</m>
</m>
<m v="motorway">
<line outline="motorway" use="highway:z11" />
<text use="major-road" />
<m zoom-max="12">
<text use="ref-caption" />
</m>
<m zoom-min="13">
<text use="ref" />
</m>
</m>
</m> <!-- end area=~|no|false -->
</m><!-- end tunnel|bridge=~|no|false -->
@ -815,19 +847,34 @@
<m v="primary">
<line cap="butt" outline="bridge" use="primary:z11" />
<text use="major-road" />
<m zoom-max="12">
<text use="ref-caption" />
</m>
<m zoom-min="13">
<text use="ref" />
</m>
</m>
<m v="trunk">
<line cap="butt" outline="bridge" use="trunk" />
<text use="major-road" />
<m zoom-max="12">
<text use="ref-caption" />
</m>
<m zoom-min="13">
<text use="ref" />
</m>
</m>
<m v="motorway">
<line cap="butt" outline="bridge" use="highway:z11" />
<text use="major-road" />
<m zoom-max="12">
<text use="ref-caption" />
</m>
<m zoom-min="13">
<text use="ref" />
</m>
</m>
</m>
</m><!-- end area=~|no|false -->

View File

@ -11,8 +11,10 @@
<style-text style="bold" fill="#de3935" id="major-road" k="name" priority="1" size="19"
stroke="#f2df6d" stroke-width="2.5" />
<style-text style="bold" fill="#606060" id="ref" k="ref" priority="2" size="12" stroke="#ffffff"
<style-text style="bold" fill="#ffffff" id="ref" k="ref" priority="2" size="12" stroke="#215e8f"
stroke-width="2.0" />
<style-text caption="true" id="ref-caption" use="ref" />
<style-area fade="10" fill="#ff0000" id="residential" />
@ -436,25 +438,40 @@
<line use="primary:z11" />
<outline use="0" />
<text use="major-road" />
<m zoom-max="12">
<text use="ref-caption" />
</m>
<m zoom-min="13">
<text use="ref" />
</m>
</m>
<m v="trunk">
<line blur="0.3" use="trunk" />
<outline use="0" />
<!-- <outline use="glow"/> -->
<text use="major-road" />
<m zoom-max="12">
<text use="ref-caption" />
</m>
<m zoom-min="13">
<text use="ref" />
</m>
</m>
<m v="motorway">
<line blur="0.3" use="highway:z11" />
<outline use="0" />
<!-- <outline use="glow"/> -->
<text use="major-road" />
<m zoom-max="12">
<text use="ref-caption" />
</m>
<m zoom-min="13">
<text use="ref" />
</m>
</m>
</m>
<!-- railway tunnel -->
<m k="railway">
@ -695,22 +712,37 @@
<line use="primary:z11" />
<outline use="primary" />
<text use="major-road" />
<m zoom-max="12">
<text use="ref-caption" />
</m>
<m zoom-min="13">
<text use="ref" />
</m>
</m>
<m v="trunk">
<line use="trunk" />
<outline use="motorway" />
<text use="major-road" />
<m zoom-max="12">
<text use="ref-caption" />
</m>
<m zoom-min="13">
<text use="ref" />
</m>
</m>
<m v="motorway">
<line use="highway:z11" />
<outline use="motorway" />
<text use="major-road" />
<m zoom-max="12">
<text use="ref-caption" />
</m>
<m zoom-min="13">
<text use="ref" />
</m>
</m>
</m> <!-- end area=~|no|false -->
</m> <!-- end tunnel|bridge=~|no|false -->
@ -791,22 +823,37 @@
<line cap="butt" use="primary:z11" />
<outline use="bridge" />
<text use="major-road" />
<m zoom-max="12">
<text use="ref-caption" />
</m>
<m zoom-min="13">
<text use="ref" />
</m>
</m>
<m v="trunk">
<line cap="butt" use="trunk" />
<outline use="bridge" />
<text use="major-road" />
<m zoom-max="12">
<text use="ref-caption" />
</m>
<m zoom-min="13">
<text use="ref" />
</m>
</m>
<m v="motorway">
<line cap="butt" use="highway:z11" />
<outline use="bridge" />
<text use="major-road" />
<m zoom-max="12">
<text use="ref-caption" />
</m>
<m zoom-min="13">
<text use="ref" />
</m>
</m>
</m> <!-- end area=~|no|false -->
<m k="area" v="yes|true">

View File

@ -11,8 +11,10 @@
<style-text style="bold" fill="#101010" id="major-road" k="name" priority="1" size="16"
stroke="#eeeeee" stroke-width="2.0" />
<style-text style="bold" fill="#606060" id="ref" k="ref" priority="2" size="12" stroke="#ffffff"
<style-text style="bold" fill="#ffffff" id="ref" k="ref" priority="2" size="12" stroke="#215e8f"
stroke-width="2.0" />
<style-text caption="true" id="ref-caption" use="ref" />
<style-text style="bold" fill="#606060" id="ferry" k="name" size="12" stroke="#ffffff"
stroke-width="2.0" />
@ -489,21 +491,36 @@
<m v="primary">
<line outline="0" use="primary:z11" />
<text use="major-road" />
<m zoom-max="12">
<text use="ref-caption" />
</m>
<m zoom-min="13">
<text use="ref" />
</m>
</m>
<m v="trunk">
<line blur="0.3" outline="0" use="trunk" />
<!-- <outline use="glow"/> -->
<text use="major-road" />
<m zoom-max="12">
<text use="ref-caption" />
</m>
<m zoom-min="13">
<text use="ref" />
</m>
</m>
<m v="motorway">
<line blur="0.3" outline="0" use="highway:z11" />
<!-- <outline use="glow"/> -->
<text use="major-road" />
<m zoom-max="12">
<text use="ref-caption" />
</m>
<m zoom-min="13">
<text use="ref" />
</m>
</m>
</m>
<!-- railway tunnel -->
<m k="railway">
<!-- <m v="tram|subway|light_rail|narrow_gauge">
@ -726,18 +743,33 @@
<m v="primary">
<line outline="primary" use="primary:z11" />
<text use="major-road" />
<m zoom-max="12">
<text use="ref-caption" />
</m>
<m zoom-min="13">
<text use="ref" />
</m>
</m>
<m v="trunk">
<line outline="motorway" use="trunk" />
<text use="major-road" />
<m zoom-max="12">
<text use="ref-caption" />
</m>
<m zoom-min="13">
<text use="ref" />
</m>
</m>
<m v="motorway">
<line outline="motorway" use="highway:z11" />
<text use="major-road" />
<m zoom-max="12">
<text use="ref-caption" />
</m>
<m zoom-min="13">
<text use="ref" />
</m>
</m>
</m> <!-- end area=~|no|false -->
</m><!-- end tunnel|bridge=~|no|false -->
@ -814,19 +846,34 @@
<m v="primary">
<line cap="butt" outline="bridge" use="primary:z11" />
<text use="major-road" />
<m zoom-max="12">
<text use="ref-caption" />
</m>
<m zoom-min="13">
<text use="ref" />
</m>
</m>
<m v="trunk">
<line cap="butt" outline="bridge" use="trunk" />
<text use="major-road" />
<m zoom-max="12">
<text use="ref-caption" />
</m>
<m zoom-min="13">
<text use="ref" />
</m>
</m>
<m v="motorway">
<line cap="butt" outline="bridge" use="highway:z11" />
<text use="major-road" />
<m zoom-max="12">
<text use="ref-caption" />
</m>
<m zoom-min="13">
<text use="ref" />
</m>
</m>
</m>
</m><!-- end area=~|no|false -->

View File

@ -17,6 +17,10 @@
<style-text style="bold" id="highway-track" k="name" size="16" stroke="#f3f3f3"
stroke-width="2.0" />
<style-text style="bold" fill="#ffffff" id="ref" k="ref" priority="2" size="12" stroke="#606060"
stroke-width="2.0" />
<style-text caption="true" id="ref-caption" use="ref" />
<m e="way" k="natural" v="issea|sea">
<area fill="#d0d0d0" mesh="true" />
</m>
@ -731,8 +735,12 @@
<m zoom-min="14">
<text style="bold" k="name" priority="1" size="16"
stroke="#868686" stroke-width="2.0" />
<text style="bold" fill="#606060" k="ref" priority="2" size="12"
stroke="#ffffff" stroke-width="2.0" />
</m>
<m zoom-max="12">
<text use="ref-caption" />
</m>
<m zoom-min="13">
<text use="ref" />
</m>
</m>
<m v="trunk">
@ -740,8 +748,12 @@
<m zoom-min="14">
<text style="bold" k="name" priority="1" size="16"
stroke="#b4b4b4" stroke-width="2.0" />
<text style="bold" fill="#606060" k="ref" priority="2" size="12"
stroke="#ffffff" stroke-width="2.0" />
</m>
<m zoom-max="12">
<text use="ref-caption" />
</m>
<m zoom-min="13">
<text use="ref" />
</m>
</m>
<m v="motorway">
@ -749,8 +761,12 @@
<m zoom-min="14">
<text style="bold" k="name" priority="1" size="16"
stroke="#979797" stroke-width="2.0" />
<text style="bold" fill="#606060" k="ref" priority="2" size="12"
stroke="#ffffff" stroke-width="2.0" />
</m>
<m zoom-max="12">
<text use="ref-caption" />
</m>
<m zoom-min="13">
<text use="ref" />
</m>
</m>
@ -865,8 +881,12 @@
<m zoom-min="14">
<text style="bold" k="name" priority="1" size="16"
stroke="#868686" stroke-width="2.0" />
<text style="bold" fill="#606060" k="ref" priority="2" size="12"
stroke="#ffffff" stroke-width="2.0" />
</m>
<m zoom-max="12">
<text use="ref-caption" />
</m>
<m zoom-min="13">
<text use="ref" />
</m>
</m>
<m v="trunk">
@ -874,8 +894,12 @@
<m zoom-min="14">
<text style="bold" k="name" priority="1" size="16"
stroke="#b4b4b4" stroke-width="2.0" />
<text style="bold" fill="#606060" k="ref" priority="2" size="12"
stroke="#ffffff" stroke-width="2.0" />
</m>
<m zoom-max="12">
<text use="ref-caption" />
</m>
<m zoom-min="13">
<text use="ref" />
</m>
</m>
<m v="motorway">
@ -883,8 +907,12 @@
<m zoom-min="14">
<text style="bold" k="name" priority="1" size="16"
stroke="#979797" stroke-width="2.0" />
<text style="bold" fill="#606060" k="ref" priority="2" size="12"
stroke="#ffffff" stroke-width="2.0" />
</m>
<m zoom-max="12">
<text use="ref-caption" />
</m>
<m zoom-min="13">
<text use="ref" />
</m>
</m>
</m>

View File

@ -17,6 +17,10 @@
<style-text style="bold" id="highway-track" k="name" size="16" stroke="#fff2de"
stroke-width="2.0" />
<style-text style="bold" fill="#ffffff" id="ref" k="ref" priority="2" size="12" stroke="#215e8f"
stroke-width="2.0" />
<style-text caption="true" id="ref-caption" use="ref" />
<m e="way" k="natural" v="issea|sea">
<area fill="#b5d6f1" mesh="true" />
</m>
@ -731,8 +735,12 @@
<m zoom-min="14">
<text style="bold" k="name" priority="1" size="16"
stroke="#e46d71" stroke-width="2.0" />
<text style="bold" fill="#606060" k="ref" priority="2" size="12"
stroke="#ffffff" stroke-width="2.0" />
</m>
<m zoom-max="12">
<text use="ref-caption" />
</m>
<m zoom-min="13">
<text use="ref" />
</m>
</m>
<m v="trunk">
@ -740,8 +748,12 @@
<m zoom-min="14">
<text style="bold" k="name" priority="1" size="16"
stroke="#7fc97f" stroke-width="2.0" />
<text style="bold" fill="#606060" k="ref" priority="2" size="12"
stroke="#ffffff" stroke-width="2.0" />
</m>
<m zoom-max="12">
<text use="ref-caption" />
</m>
<m zoom-min="13">
<text use="ref" />
</m>
</m>
<m v="motorway">
@ -749,8 +761,12 @@
<m zoom-min="14">
<text style="bold" k="name" priority="1" size="16"
stroke="#809bc0" stroke-width="2.0" />
<text style="bold" fill="#606060" k="ref" priority="2" size="12"
stroke="#ffffff" stroke-width="2.0" />
</m>
<m zoom-max="12">
<text use="ref-caption" />
</m>
<m zoom-min="13">
<text use="ref" />
</m>
</m>
@ -865,8 +881,12 @@
<m zoom-min="14">
<text style="bold" k="name" priority="1" size="16"
stroke="#e46d71" stroke-width="2.0" />
<text style="bold" fill="#606060" k="ref" priority="2" size="12"
stroke="#ffffff" stroke-width="2.0" />
</m>
<m zoom-max="12">
<text use="ref-caption" />
</m>
<m zoom-min="13">
<text use="ref" />
</m>
</m>
<m v="trunk">
@ -874,8 +894,12 @@
<m zoom-min="14">
<text style="bold" k="name" priority="1" size="16"
stroke="#7fc97f" stroke-width="2.0" />
<text style="bold" fill="#606060" k="ref" priority="2" size="12"
stroke="#ffffff" stroke-width="2.0" />
</m>
<m zoom-max="12">
<text use="ref-caption" />
</m>
<m zoom-min="13">
<text use="ref" />
</m>
</m>
<m v="motorway">
@ -883,8 +907,12 @@
<m zoom-min="14">
<text style="bold" k="name" priority="1" size="16"
stroke="#809bc0" stroke-width="2.0" />
<text style="bold" fill="#606060" k="ref" priority="2" size="12"
stroke="#ffffff" stroke-width="2.0" />
</m>
<m zoom-max="12">
<text use="ref-caption" />
</m>
<m zoom-min="13">
<text use="ref" />
</m>
</m>
</m>

View File

@ -11,8 +11,10 @@
<style-text style="bold" fill="#ffef7d" id="major-road" k="name" priority="1" size="19"
stroke="#624f00" stroke-width="2.5" />
<style-text style="bold" fill="#606060" id="ref" k="ref" priority="2" size="12" stroke="#ffffff"
<style-text style="bold" fill="#ffffff" id="ref" k="ref" priority="2" size="12" stroke="#215e8f"
stroke-width="2.0" />
<style-text caption="true" id="ref-caption" use="ref" />
<style-area fade="10" fill="#ff0000" id="residential" />
@ -436,25 +438,40 @@
<line use="primary:z11" />
<outline use="0" />
<text use="major-road" />
<m zoom-max="12">
<text use="ref-caption" />
</m>
<m zoom-min="13">
<text use="ref" />
</m>
</m>
<m v="trunk">
<line blur="0.3" use="trunk" />
<outline use="0" />
<!-- <outline use="glow"/> -->
<text use="major-road" />
<m zoom-max="12">
<text use="ref-caption" />
</m>
<m zoom-min="13">
<text use="ref" />
</m>
</m>
<m v="motorway">
<line blur="0.3" use="highway:z11" />
<outline use="0" />
<!-- <outline use="glow"/> -->
<text use="major-road" />
<m zoom-max="12">
<text use="ref-caption" />
</m>
<m zoom-min="13">
<text use="ref" />
</m>
</m>
</m>
<!-- railway tunnel -->
<m k="railway">
@ -688,22 +705,37 @@
<line use="primary:z11" />
<outline use="primary" />
<text use="major-road" />
<m zoom-max="12">
<text use="ref-caption" />
</m>
<m zoom-min="13">
<text use="ref" />
</m>
</m>
<m v="trunk">
<line use="trunk" />
<outline use="motorway" />
<text use="major-road" />
<m zoom-max="12">
<text use="ref-caption" />
</m>
<m zoom-min="13">
<text use="ref" />
</m>
</m>
<m v="motorway">
<line use="highway:z11" />
<outline use="motorway" />
<text use="major-road" />
<m zoom-max="12">
<text use="ref-caption" />
</m>
<m zoom-min="13">
<text use="ref" />
</m>
</m>
</m> <!-- end area=~|no|false -->
</m> <!-- end tunnel|bridge=~|no|false -->
@ -784,22 +816,37 @@
<line cap="butt" use="primary:z11" />
<outline use="bridge" />
<text use="major-road" />
<m zoom-max="12">
<text use="ref-caption" />
</m>
<m zoom-min="13">
<text use="ref" />
</m>
</m>
<m v="trunk">
<line cap="butt" use="trunk" />
<outline use="bridge" />
<text use="major-road" />
<m zoom-max="12">
<text use="ref-caption" />
</m>
<m zoom-min="13">
<text use="ref" />
</m>
</m>
<m v="motorway">
<line cap="butt" use="highway:z11" />
<outline use="bridge" />
<text use="major-road" />
<m zoom-max="12">
<text use="ref-caption" />
</m>
<m zoom-min="13">
<text use="ref" />
</m>
</m>
</m> <!-- end area=~|no|false -->
<m k="area" v="yes|true">