Hacker News new | ask | show | jobs
by brightsize 4217 days ago
I think a heatmap would look good here, one with nice flowing color gradients, maybe with a separate marker layer over the top. Leaflet-DVF looks pretty promising for that sort of thing and it comes with nifty markers. Of course a cute marker icon that looked like a rat would be good too. I'd prefer to see the building/address info displayed in a marker pop-up rather than on the left. Map apps are fun, I've made a bunch myself with Leaflet.
1 comments

Hey, thanks for commenting. I am hoping to add a heat map - I had tried using https://github.com/pa7/heatmap.js and the code is still actually in the application source. Sadly that heat map couldn't handle the massive amounts of rat data NYC has to offer :) I'll check out Leaflet-DVF, thanks for the tip!
I'd recommending piping it through a Heroku app. Just request the data from your app and have the app process the data. It's slightly less transparent, but it's a lighter footprint on the browser itself.