Template:OSM Location map/cssmapping: Difference between revisions

Content deleted Content added
Catch values that are outside the box (they still got shown on mobile view)
Roll out curveA curveC for curved arrow lines
Line 32:
height: {{#invoke:String2 |split |txt={{{label-line|}}}|sep=!|idx=5}}px; border-radius: 2px;
background-color: transparent; box-shadow: 4px 4px #16591644;
outline: 2px solid {{{label-color|blue}}};"></div> }}{{#ifeq:{{{mark-width|1}}}|0||<div style="display{{#switch:inline-block; position: absolute;{{{shape|}}}
|curveA= {{OSM Location map/cssline|option=curveA
|x1={{{x1|150}}}|y1={{{y1|150}}}|w={{{mark-width|55}}}|cw=0| outline-width={{{outline-width|6}}}| angle={{{shape-angle|0}}}| shape-outline={{{shape-outline|black}}}| outline-style={{{outline-style|solid}}} }}
|curveC={{OSM Location map/cssline|option=curveA
|x1={{{x1|150}}}|y1={{{y1|150}}}|w={{{mark-width|55}}}|cw=1| outline-width={{{outline-width|6}}}| angle={{{shape-angle|0}}}| shape-outline={{{shape-outline|black}}}| outline-style={{{outline-style|solid}}} }}
|}}<div style="display:inline-block; position: absolute;
outline-width: {{{outline-width|0}}}px;
outline-style: {{{outline-style|solid}}};