Sequential Tiles
✓ Published0🌍 Public
Mmbostock
Last edited Feb 8, 2016
Created on Sep 25, 2010
This example demonstrates a rainbow-colored tile grid that visualizes the sequence of map tiles in a web mapping interface. Each tile at a given zoom level is assigned a color based on its sequential position, creating a visible gradient that shows the order and layout of map tiles. The visualization uses the Polymaps JavaScript library’s `po.map()` and `po.layer()` APIs, with a custom `rainbow` function that calculates a hue from the tile’s column and row indices. The code also includes a custom `hsl` function for color conversion, and the map is configured with a 32x32 tile size and zoom level 4.
AI-generated descriptionThis is the counter-example to Hilbert Tiles.
gpl-3.0 Licensed