Guest Post: Michael Keller from Newsbeast Labs

Summary

Explore Newsbeast Labs' standardized CartoDB templates for interactive maps with hover states and infowindows using Leaflet.js and Underscore.js on GitHub.

This post may describe functionality for an old version of CARTO. Find out about the latest and cloud-native version here.
Guest Post: Michael Keller from Newsbeast Labs

As some of you may already know  Newsweek / The Daily Beast has been using CartoDB for some time now  and as such today's blog post comes from Michael Keller of Newsbeast labs. We'd also like to take the opportunity thank Michael for his amazing contributions to the CartoDB community. Thanks!

A number of recent stories at the Daily Beast have had some kind of mapping component. We use them often to let people see how a national topic affects readers' local areas.



newsbeast labs visualizes topics on carto map




 

I have been reusing code from former projects and so it was about time I standardized them into reusable templates with Leaflet.js. I released them on Github this week.

I made three categories: basic map with hover states  hover states + hover infowindow  and all of that with templated infowindows using Underscore.js.

In each of these categories you'll see a template for a point map  a polygon map  and a map with both points and polygons.

Some features:









newsbeast labs visualizes topics by region on carto map




 









If you have any questions  I'm at @mhkeller. If you have improvements  pull requests at http://github.com/mhkeller/cartodb-templates