Automatically adding some extra context (major cities and interstates) to a county map with MapZen vector tiles.
Downloads the tiles to cover the entire bounding box at a medium zoom level, stitches together the road segments, and filters down to major interstates (e.g. I-5, I-80) and large cities with some minimum spacing between them.
This would probably never be practical at all! Downloads a ton of unused data and the results for any random place aren't totally predictable.
Potential improvements: dynamic label placement, adding rivers
https://cdnjs.cloudflare.com/ajax/libs/d3/3.5.14/d3.min.js
https://cdnjs.cloudflare.com/ajax/libs/queue-async/1.0.7/queue.min.js
https://cdnjs.cloudflare.com/ajax/libs/topojson/1.6.20/topojson.min.js