As promised, videos of my San Francisco and Vancouver real-time HTML5 geotagged photo mashups driven by the great flickr and CloudMadeAPIs (each time a geotagged photo to the city is uploaded to flickr, a dot is posted on the map; the dot does a reverse blue fade-in and then alternates between green and red and the map alternates between orange and pink). Next up, add music driven by the neighbourhood (i.e. a different tune for each woeid, which means 26 different tunes for Vancouver).
Das Blinkenlights w/CloudMade APIs of Vancouver & San Francisco real-time geotagged flickr photos: use map.removeOverlay()
To the three :-) people in the world who care about blinking lights on a CloudMade Map : Evidently CloudMade and the web browsers can't handle large amount of overlays i.e. 1000s of them :-). So the solution is to map.removeOverlay() before map.addOverlay(). If you don't remove the overlay before you addOverlay() then the browser slows down and leaks a large amount of memory.
I'll post a video later of the incredible Das Blinkenlights :-) but you can try it yourself. Just click on one of the following URLs to try it yourself (the map will be all black until somebody uploads some geotagged photos which could be anywhere from 1 second from now until an hour from now):
- Vancouver Das Blinkenlights (source code on github:vancouver-emerges-d.html)
- San Francisco Das Blinkenlights (source code on github:sanfrancisco-emerges-d.html)