Cool idea, i'd love to try it but honestly i'd love it on my phone for the aforementioned reasons!
---
Edit: Some follow up remarks (From Chrome on a Mac)
1. I found it a bit confusing when creating a route. I assumed it would let me do address completion. The UI seems to just be naming my route instead, i think if you're going to borrow visually from Google maps you should follow their patterns.
2. I was able to add my first point (my home), but adding a second point never worked.
3. The click mechanic is a bit odd. I expect clicking elsewhere when the menu is open (add point/close) that the menu would go away - rather than re-appear in my new click location.
4. The map centred me over Europe, i'm in Canada however. Some GeoIP lookup here could give a better experience.
5. Re:point 2, this seems to work when i selected random locations in Europe. I assume this is a data issue? So the real issue here (apart from the routing not working) is there's no feedback on the UI when the routing fails.
6. Refreshing my screen loses my route. Any chance you could save it to local storage or something? Would be amazing if i could create this route on my desktop and then send a link to my phone (once mobile is supported?)
I couldn't imagine trying to build a complex route on a tiny screen with a crappy phone UI. I am starting to feel like an old man yelling at clouds here. Why in the hell wouldn't you prefer to use a nice monitor with a mouse for a complex task like this?
I nearly always plan routes on my phone. After all, it's the device I use for navigation attached to the stem of my bike.
> Why in the hell wouldn't you prefer to use a nice monitor with a mouse for a complex task like this?
The task isn't very complex with a decent UI. See for example the open-source app OSMAnd (Android & iPhone). Also, I am rarely at my desk, but I always have my phone on me. There can also be the issue of "Neat, I made a route on a big screen; now, how do I get it on my phone for real-time navigation?" depending on the app you are using.
Thia isn't to say you're wrong. I much prefer my monitor and mouse for anything of reasonable complexity. But I increasingly find myself in the minority in that regard among people I know. Hell, I even find myself in the minority for using a laptop for tasks sometimes.
Regarding state: it's only a matter of changing the blacklist array in redux persist config. Right now I have all global state blacklisted because I noticed a small bug with rendering the map layers when the state is persisted and I didn't have time to fix it but in the next version it will be persisted in localstorage.
There are simply some things where a phone screen is just too small to use efficiently, and the fingers sometimes aren't just a good, precise enough input device.
Though I am a bit irritated by the brightness of the route on your site, it lacks contrast with respect to the surrounding map.
BTW, how is that routing done? Like which is the used routing engine and is it done server-side or in the browser?
---
It does seem to have a bug, where, when deleting a waypoint, the mouse still is in "create waypoint mode", and any mouse-down on the map, including for panning, results in adding a waypoint.