nicHoch / tca

app bug reporting
4 stars 0 forks source link

Scrolling the map makes the circles appear and disappear #32

Open matozoid opened 3 years ago

matozoid commented 3 years ago

It's very "busy" looking.

bkucsera commented 3 years ago

The reason for this is that the app has to do a new calculation of the actual crags on the screen. Every time you zoom in/out, it means a new calculation. Showing the good amount of donuts (i mean grouping them) was a big issue during the development, we had to build a unique grouping method. In a later release we can find out other solutions for the Map view.

matozoid commented 3 years ago

Understandable, however this is not for zooming, but for scrolling. It would be great if the circles stay still then. I can see why this algorithm has been chosen - it only needs data for the area we're looking at - but I can't even scroll a few pixels to look around that interesting circle to the north. Nope, everything reshuffles.

bkucsera commented 3 years ago

Please check it again, we have modified a bit on the algorithm. The bigger crags stay on the screen if you move the map a bit. Crags with higher relevance stay on top. Smaller crags' relevance value is recalculated when you move the map. We have to use the relevance calculation on the map, otherwise we would not see the map because of the too many donuts. If it is ok like this, please close this issue. If not, we are open for new suggestions :)

killakalle commented 3 years ago

I also noticed this behavior when moving around the map - not zooming.

At the moment it looks still quite random to me how crags/areas/etc are displayed/hidden on the map. See that also the big area with 8790 routes disappears. image

What I would expect:

birgander2 commented 3 years ago

I have more a problem that the numbers in the circles seem not to be correct. Sometime you zoom in, and new circles appear with additional numbers. Instead, they should split, keeping the total number of routes constant.