block by veltman 3ad474e52925d007b292eefbe676174d

Strip map with labels

Full Screen

A version of this strip map with some labeled features.

Labels are a bit trickier than background features because you don’t want to clip them to the zones, but you can’t just create one copy per zone of each, or you’ll get a bunch of identical labels approximately on top of each other and it will look weird. This uses a point-in-polygon test to assign each labeled point to its proper zone at the start. Once that assignment is done, you could put the labels in their own top layer if you had to worry about other features overlapping (not really an issue in this case).

index.html

ca.geojson

simplify.js

warper.js