Template:OSM Location map/cssline
外观
Creates a CSS div to draw a line between two points (x1,y1) and (x2,y2).
Other parameters are outline-width, outline-style and shape-outline which provide the line-width,css line style and line-color.
It works by calculating the centre-point, transform-angle and line-length needed and applies them to border-bottom. (Maths comes with thanks to ES.)