At the moment, when you first load the map it takes about 7 seconds for the first markers to appear. During this time the app is sluggish and incomplete.
A first stab at solving this would be a two-stage approach:
[x] Don't require the app to know all markers on the map to render the lower zoom levels. Instead show aggregate counts per country as iOverlander does
[ ] Then, make the client request only the markers within a certain bounding box from the backend for the higher zoom levels. This means less data has to be queried, transferred and clustered for the markers, and things will be faster.
I'll have to study how to do the second part efficiently and as offline-friendly as possible with Firebase, but because "maps with markers" style apps are pretty common, I'm confident that nice solutions exist.
At the moment, when you first load the map it takes about 7 seconds for the first markers to appear. During this time the app is sluggish and incomplete.
A first stab at solving this would be a two-stage approach:
I'll have to study how to do the second part efficiently and as offline-friendly as possible with Firebase, but because "maps with markers" style apps are pretty common, I'm confident that nice solutions exist.