better comment depends render example
This commit is contained in:
parent
cf54ee3651
commit
c2f28ccb9e
2 changed files with 32 additions and 12 deletions
|
@ -0,0 +1,32 @@
|
||||||
|
<renderingStyle name="test-depends" depends="default" defaultColor="#f1eae4" version="1">
|
||||||
|
<!-- In a dependent renderer, just specify what should change vs. the master/default renderer -->
|
||||||
|
|
||||||
|
|
||||||
|
<!-- Example: always use 'Road atlas style' road colors -->
|
||||||
|
<renderingConstant name="motorwayRoadColor" value="#809bff"/>
|
||||||
|
<renderingConstant name="trunkRoadColor" value="#ed154b"/>
|
||||||
|
<renderingConstant name="primaryRoadColor" value="#ff80a0"/>
|
||||||
|
<renderingConstant name="secondaryRoadColor" value="#ffd080"/>
|
||||||
|
<renderingConstant name="tertiaryRoadColor" value="#ffff80"/>
|
||||||
|
|
||||||
|
|
||||||
|
<order>
|
||||||
|
</order>
|
||||||
|
|
||||||
|
|
||||||
|
<text>
|
||||||
|
</text>
|
||||||
|
|
||||||
|
|
||||||
|
<point>
|
||||||
|
</point>
|
||||||
|
|
||||||
|
|
||||||
|
<polygon>
|
||||||
|
</polygon>
|
||||||
|
|
||||||
|
|
||||||
|
<line>
|
||||||
|
</line>
|
||||||
|
|
||||||
|
</renderingStyle>
|
|
@ -1,12 +0,0 @@
|
||||||
<renderingStyle name="test_depends" depends="default" defaultColor="#232323" version="1">
|
|
||||||
|
|
||||||
<!-- Test -->
|
|
||||||
<order>
|
|
||||||
<filter tag="highway" value="motorway" order="50" shadowLevel="1" objectType="2"/>
|
|
||||||
<filter tag="highway" value="pedestrian" order="60" />
|
|
||||||
<filter tag="highway" value="byway" order="62" />
|
|
||||||
<filter tag="highway" value="footway" order="65" />
|
|
||||||
<filter tag="highway" value="steps" order="66" />
|
|
||||||
<filter tag="highway" value="bridleway" order="59" />
|
|
||||||
</order>
|
|
||||||
</renderingStyle>
|
|
Loading…
Reference in a new issue