Skip to content

pense bête

Christophe edited this page Jul 30, 2022 · 10 revisions

engine_v1 false = OpenGL

mise en oeuvre

			<switch minzoom="10"  >
				<case tag="waterway" value="river" />
					<apply_if additional="tunnel=flooded" pathEffect="2_5"/>
					<apply_if additional="tunnel=yes" pathEffect="2_5"/>
					<apply_if additional="tunnel=building_passage"  pathEffect="2_5"/>
				    <apply_if engine_v1="true">
				        <case maxzoom="12" strokeWidth="0.8" />
				        <case minzoom="13" strokeWidth="1" />
				    </apply_if>
				    <apply_if engine_v1="false">
				        <case maxzoom="12" strokeWidth="8" />
				        <case minzoom="13" strokeWidth="16" />
				    </apply_if>
			</switch>`

Clone this wiki locally