4 JavaScript Maps
Enhance your web projects with interactive JavaScript maps. This collection includes a variety of implementations — from geographic maps using Leaflet and Mapbox to custom-built diagrams and data visualizations. Ideal for dashboards, travel sites, and apps requiring spatial context.
Examples

Scroll-Driven SVG Map Editorial Gallery
This cinematic travel presentation combines scroll-driven vector mapping and nested photographic galleries. Built with GSAP ScrollTrigger and the Intersection Observer API, scrolling initiates a staged intro: the title fades, a detailed SVG map draws its borders, and a specific province highlights. Concurrently, a three-column image grid slides up, transitioning smoothly from greyscale to full color. (Requires: gsap.js, scroll-trigger.js, images-loaded.js)
See the Pen Scroll-Driven SVG Map Editorial Gallery.

Treasure Map
The map looks like a real sheet of paper that can be virtually “crumpled” or folded with a mouse/finger, complete with realistic shadows and physics.
See the Pen Treasure Map.

The Adventures of Marco Polo: A Storytelling Map
This demo showcases synchronized map animation and slide transitions using Leaflet.js and JavaScript to create an immersive storytelling experience. It also features a custom compass that responds to mouse movements and acts as a primary navigation control.
See the Pen The Adventures of Marco Polo: A Storytelling Map.
