Skip to main content
100%

Pulsing markers in Mapbox GL JS

✓ Published0🌍 Public
Aajzeigert
Last edited Jan 21, 2016
Created on Jan 21, 2016

Pulsing markers in Mapbox GL JS animate mountain peak labels from the Natural Earth elevation points dataset, with a yellow ring effect that expands and fades around each numbered marker. The map uses Mapbox GL JS v0.12.2 with a streets style, adding two symbol layers from the same GeoJSON source. A `requestAnimationFrame` loop running at 30 frames per second adjusts text opacity and size properties on one layer, creating the pulsing effect while the base layer remains static.

AI-generated description

Similar vizzes