TurfCutter - Mapbox Edition

I first saw Mapbox in April 2014. One thing led to another, and I found myself having rebuilt Turf Cutter (again), this time using Mapbox as a base. It was a chance to do a major refactor of the codebase, along with converting it all to TypeScript. Since we were heading into an election cycle, I rebuilt it to have a swappable backend in case the as-yet unproven Mapbox couldn’t meet our uptime needs - Google Maps can be used simply by switching a flag on the page. It also got a press release. Neat!