mhdhejazi / CoronaTracker

Coronavirus tracker app for iOS & macOS with maps & charts
https://coronatracker.samabox.com/
GNU General Public License v3.0
1.54k stars 288 forks source link

View of granular data points for regions or provinces #102

Open jsf030 opened 4 years ago

jsf030 commented 4 years ago

I split this issue into bugs (in my opinion) and a related feature request. It's about the new view of granular data points for regions or provinces.

Bugs:

Feature Request:

mhdhejazi commented 4 years ago

The semicircular background layers for displaying numerical values at the provincial level are displayed empty at a certain zoom level, so they disturb the overview without displaying information.

Those empty small circles act as indicators that there is more granular data at the annotated locations. Without them, it's not clear what region has more data without resorting to trial and error.

The numerical values for the provinces overlap the numerical values for countries, and are displayed one level higher than the country values, so that when interacting, one involuntarily retrieves the numbers of the province instead of the desired country values.

That was the case initially before I resolved the problem by giving a lower priority to province annotations which helped to avoid the overlapping. I guess you were using a bit old code when you saw that. Give it another try please.

What is simply imprecise, however, is the simultaneous representation of both levels on one country.

I started by showing the province annotations in a different style to differentiate them from the country annotations, but as the number of province annotations increases the map becomes very busy, so I decided to use very small circles.

For those countries for which regional sub-values are available, could you possibly frame the country circles accordingly, so that a tap on the country circle "folds out" the regional figures?

Yes, this is exactly one of the ideas I have on my list. I thought the map data could be seen as a tree (like the file/directory trees in file systems). When you tap on an annotation, it becomes selected, and only its children annotations will be shown. This also allows showing more data on deeper levels. And the title will also change from Country to Country > Province.

This needs some work and time, and I hope somebody can help with this.