Closed ShadedSelf closed 1 year ago
Separated plotly map update callback from map calculation callback, there is code related to "plotgotopoints" that doesnt do anything now, but it seems like the opacity of those traces was set to 0 anyways, not sure what to do with that.
Invisible goto points have to be ploted otherwise go to selected point feature doesn't work. Just tested your branch, it doesn't work. I can't grap mouse position at click event. To plot invisible goto points is a kind of workaround.
Commented out the interval enabler/disabler, not sure if you want to keep that,
I think it was a kind of workaround to avoid jumping of user selected zoom. After switching to Patch() in map.py I think we don't need it anymore, never test that.
I like the progress bar, but I find selected place under the map is not smart and every time if progress bar is be shown the size of the map is changing and we have again some kind of zoom jumping. Could we place the progress bar in front of map without map size changing? Maybe something like that but as a progress bar: https://www.dash-mantine-components.com/components/loadingoverlay
In case of squares pattern the path planner is called 2 times. Also the progress bar is running 2 times, I don't know if there a better way to handle that.
Sorry for the mess of commits, I cant get my local repo to work for some reason.
OK, it should all work now. Bar is on the middle now. For squares the bar resets once, I couldnt think of anything simple to fix it and I didnt want to introduce a bunch of extra logic just for that, I might look into it at another point.
A bunch of changes.