|
|
@ -88,7 +88,7 @@ function markerPointer (style) { |
|
|
|
var color = 'color' in style ? style.color : '#000000' |
|
|
|
var width = 'width' in style ? style.width : 1 |
|
|
|
|
|
|
|
return '<svg anchorX="13" anchorY="45" width="25" height="45"><path d="M0.5,12.5 A 12,12 0 0 1 24.5,12.5 C 24.5,23 13,30 12.5,44.5 C 12,30 0.5,23 0.5,12.5" style="stroke: ' + color + '; stroke-width: ' + width + '; fill: ' + fillColor + ';"/></svg>' |
|
|
|
return '<svg anchorX="13" anchorY="45" width="25" height="45" signAnchorX="0" signAnchorY="-31"><path d="M0.5,12.5 A 12,12 0 0 1 24.5,12.5 C 24.5,23 13,30 12.5,44.5 C 12,30 0.5,23 0.5,12.5" style="stroke: ' + color + '; stroke-width: ' + width + '; fill: ' + fillColor + ';"/></svg>' |
|
|
|
} |
|
|
|
|
|
|
|
OverpassLayer.twig.extendFunction('markerLine', markerLine) |
|
|
|