Template:OSM Location map/cssmapping: Difference between revisions

Content deleted Content added
use up and itriangle
remove .8
Line 65:
height: {{#expr:{{{mark-width|50}}}*0.8}}px; transform: rotate(45deg);
background-color: {{{shape-color|lightblue}}};"></div>
|triangle|trangle-up|up = top: {{#expr:{{{y1|40}}}-({{{mark-width|50}}}/2*0.8)}}px;
left: {{#expr:{{{x1|40}}}-({{{mark-width|50}}}/2*0.8)}}px;
transform: rotate({{{shape-angle|0}}}deg);
width: 0; height: 0; outline-width: 0px;
Line 72:
border-right: {{#expr:{{{mark-width|14}}}/2}}px solid transparent;
border-bottom: {{{mark-width|14}}}px solid {{{shape-color|lightblue}}};"></div>
|itriangle = top: {{#expr:{{{y1|40}}}-({{{mark-height|50}}}/2*0.8)}}px;
left: {{#expr:{{{x1|40}}}-({{{mark-width|50}}}/2*0.8)}}px;
transform: rotate({{{shape-angle|0}}}deg);
width: 0; height: 0; outline-width: 0px;