Plot Live Tweets to Unfolding Maps

Earlier I had troubles getting the Twitter4j and Unfolding Maps libraries running at the same time, but after moving some things around I’ve managed to get it working. Compared to the previous version which just used a png map background, the locations of the tweets are much more accurate. I’m now also able to zoom in and out without the background going blurry since the Unfolding Maps library uses vector tiles. Below I outline how to plot a stream of live tweets using Twitter4J to a map of Vancouver using the Unfolding Maps library for Processing.

Screen Shot 2014-11-10 at 7.33.35 PM

Screen Shot 2014-11-10 at 10.59.23 PM
I’m currently working on getting the content of the tweet to appear when the mouse hovers over the point on the map, and hopefully soon will be able to figure out how to swap out the map background for something custom.

Leave a Reply