import: fixed numbers

This commit is contained in:
muerwre 2018-12-24 18:26:48 +07:00
parent eba3db420d
commit 121ec610e0
2 changed files with 5 additions and 2 deletions

View file

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

View file

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