printing gpx tracks

This commit is contained in:
Fedor Katurov 2020-01-24 18:08:34 +07:00
parent 5604d8716b
commit f41078b769
4 changed files with 40 additions and 8 deletions

View file

@ -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);