From c6805e04cce4241aa2826c448e00b47f0836b23a Mon Sep 17 00:00:00 2001 From: muerwre Date: Mon, 18 Feb 2019 14:41:08 +0700 Subject: [PATCH] finally fixed gpx points --- src/utils/gpx.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/utils/gpx.ts b/src/utils/gpx.ts index 412e6a4..9e87d9f 100644 --- a/src/utils/gpx.ts +++ b/src/utils/gpx.ts @@ -24,21 +24,21 @@ export const getGPXString = ({ route, title, stickers }: IGetGPXString): string ${title || 'GPX Track'} ${ - stickers.reduce((cat, { latlng: { lat, lng }, text }, index) => ( + stickers.reduce((cat, { latlng: { lat, lng }, text }) => ( `${cat} ${text} generic - Generic + Маршрут `), '') } ${title || 'GPX Track'} ${ - route.reduce((cat, { lat, lng }, index) => ( + route.reduce((cat, { lat, lng }) => ( ` ${cat} - ` + ` ), '') }