Ink Golf
Date: April 23, 2025
Technology: Mapbox GL JS, MapTiler, service workers
Fun Fact: read more about ink golf here
Technology: Mapbox GL JS, MapTiler, service workers
Fun Fact: read more about ink golf here
This map uses service workers to intercept map tile requests, do things (count dark pixels, add text, etc.), and finally return the modified tiles to the map. This is a good way to do some light processing on the map tiles asynchronously without having to set up a full server or use synchronous methods (e.g. map.transformRequest()).