google-code-export / sandy-disaster-recovery

Automatically exported from code.google.com/p/sandy-disaster-recovery
2 stars 2 forks source link

Load Sites asynchronously when Map loads. #57

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
We should load all of the sites asynchronously when the Map loads, and probably 
based on the current set of filters. This will make a for a faster feeling 
experience. Currently, /maps takes 4 seconds to load, mostly because of the 
multi-phase lookups required to retrieve the sites.

We could also do an id-only scan of the Sites table, and then let the 
Javascript batch up calls for the various sites, adding markers as they arrive. 
This would result in a relatively fast initial load, followed by an incremental 
loading of the map.

Original issue reported on code.google.com by rostovp...@gmail.com on 8 Nov 2012 at 3:49

GoogleCodeExporter commented 9 years ago

Original comment by rostovp...@gmail.com on 9 Nov 2012 at 3:31