foxnewsnetwork / German-Lit155

Analysis of famous German writers such as Marx
2 stars 1 forks source link

Geo-filter for the database #7

Open foxnewsnetwork opened 13 years ago

foxnewsnetwork commented 13 years ago

Right now, everything single rumor stored in the database is pulled out and dumped into the map upon loading. While this might work for only only the developers are using this service, the moment it is released to the public (or someone stumbles upon it now), shit will hit the fan harder than a drunken southerner hitting his wife. As such, we ought to implement a geo-location based filter to pull from the database and load onto the map.

SpinnakerSix commented 13 years ago

Google map api should have marker manager that loads on certain numbers of markers depending on zoom level. I've used it before and it works!

foxnewsnetwork commented 13 years ago

I guess this is a later worry; but once we get big enough (say 10,000 posts), we really shouldn't be sending all this to Google.

SpinnakerSix commented 13 years ago

it gets slow around 500 markers. I've tried on one of my earlier apps.

foxnewsnetwork commented 13 years ago

I guess this means we ought to pull out maybe only 200 markers at a time or so then... I guess geo, interest, etc. filtering must come before we deploy for realz