File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -340,6 +340,9 @@ for drawing the corresponding polyline.
340340 <opacity >0.5</opacity >
341341 <weight >1</weight >
342342 <linecap >square</linecap >
343+ <linejoin >square</linejoin >
344+ <dasharray >0,10</dasharray >
345+ <dashoffset >3</dashoffset >
343346 </line >
344347 </extensions >
345348 <trkpt lat =" ..." lon =" ..." ></trkpt >
Original file line number Diff line number Diff line change @@ -617,6 +617,12 @@ L.GPX = L.FeatureGroup.extend({
617617 if ( _ . length > 0 ) style . weight = _ [ 0 ] . textContent ;
618618 var _ = e [ 0 ] . getElementsByTagName ( 'linecap' ) ;
619619 if ( _ . length > 0 ) style . lineCap = _ [ 0 ] . textContent ;
620+ var _ = e [ 0 ] . getElementsByTagName ( 'linejoin' ) ;
621+ if ( _ . length > 0 ) style . lineJoin = _ [ 0 ] . textContent ;
622+ var _ = e [ 0 ] . getElementsByTagName ( 'dasharray' ) ;
623+ if ( _ . length > 0 ) style . dashArray = _ [ 0 ] . textContent ;
624+ var _ = e [ 0 ] . getElementsByTagName ( 'dashoffset' ) ;
625+ if ( _ . length > 0 ) style . dashOffset = _ [ 0 ] . textContent ;
620626 }
621627 return this . _merge_objs ( style , overrides )
622628 } ,
You can’t perform that action at this time.
0 commit comments