diff --git a/backend/tools/import.js b/backend/tools/import.js index 78dabb3..ad86f02 100755 --- a/backend/tools/import.js +++ b/backend/tools/import.js @@ -132,7 +132,7 @@ const run = async () => { created_at, updated_at: created_at, provider: mapStyleParser(map_style), - route, + route: route.map(({ lat, lng }) => ({ lat: Number(lat), lng: Number(lng) })), stickers: [ ...stickersParser(stickers), ...pointParser(points) diff --git a/src/index.js b/src/index.js index 8ec352c..ce8098c 100644 --- a/src/index.js +++ b/src/index.js @@ -1,6 +1,9 @@ /* todo public maps + todo editing map on map list + todo setting map public on map list + done add ability to copy-paste address after saving todo save progress @@ -27,7 +30,7 @@ done better poly editor https://github.com/SupriyaSudhindra/leaflet-editable-polyline todo update after point delete - todo stickers drag on rotate bug + done stickers drag on rotate bug todo network operations notify done delayed notify (delay(2000).then(showLoadingMsg))