Skip to main content
100%

Maptimeify a polygon in CartoCSS

✓ Published0🌍 Public
AAlan McConchie
Last edited Oct 30, 2014
Created on Oct 30, 2014

This visualization demonstrates how to apply a Maptime-themed rainbow outline to a specific building polygon using CartoCSS in TileMill. It shows a single OpenStreetMap feature (osm_id 260351411) styled with seven stacked line layers, each offset by two pixels and colored red, orange, yellow, green, blue, purple, plus a white halo. The CartoCSS snippet defines separate compositing layers (::red, ::orange, etc.) with line-width, line-color, and line-offset properties to create the striped effect. The example references tips from TileMill GitHub issue #2144 and credits AJ Ashton and Dane Springmeyer for the technique.

AI-generated description

Have you wanted to make a #Maptime-themed building in CartoCSS? Now you can!

Inspired by the first #Maptime rainbow building images from MaptimeAMS.

And thanks to tips found here: https://github.com/mapbox/tilemill/issues/2144. Thanks AJ Ashton and Dane Springmeyer!

Similar vizzes