affinitybridge / unhcr

Map of services for Syrian refugees in Jordan
MIT License
5 stars 23 forks source link

Research possible performance issues #10

Closed ZoeAffinity closed 10 years ago

ZoeAffinity commented 10 years ago

CrossFilter warns that "more than 16 filters… introduces additional overhead" and we may need 24. How to mitigate?

Will the tiles load fast enough? Can we cache them?

ZoeAffinity commented 10 years ago

CrossFilter - not an issue, we won't have that many filters.

We are now re-using our icon objects and marker objects. This is a smallish optimization. It means that instead of destroying and re-creating the markers when the user changes their filter selections, we just add the same markers to or remove them from the map. This helps make the map respond fast to filter changes.

Tile caching - on the back burner.