mirror of
https://github.com/muerwre/orchidmap-front.git
synced 2025-04-25 11:06:40 +07:00
printing gpx tracks
This commit is contained in:
parent
5604d8716b
commit
f41078b769
4 changed files with 40 additions and 8 deletions
|
@ -14,8 +14,9 @@ const GpxPolyline: FC<IProps> = ({ latlngs, color }) => {
|
|||
const item = new Polyline([], {
|
||||
color,
|
||||
stroke: true,
|
||||
opacity: 0.4,
|
||||
opacity: 1,
|
||||
weight: 9,
|
||||
dashArray: [12,12],
|
||||
}).addTo(MainMap);
|
||||
setLayer(item);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue