block by enjalot 985de8fcd65d37583949edbf280f2632

Mapbox-gl + d3.geo.tile + clipping

Full Screen

This example shows how to overlay a custom clipped tile layer on top of a Mapbox-gl map. Currently it is not possible to do an arbitrary clip of a mapbox-gl layer, so I’m using d3.geo.tile to overlay raster tiles and clip them using svg clip-paths.

Built with

forked from mbostock‘s block: Clipped Map Tiles

forked from enjalot‘s block: Mapbox -> d3 projection