Skip to main content
100%

Leaflet starter

✓ Published0🌍 Public
AAlan McConchie
Last edited May 28, 2017
Created on Nov 3, 2016

A simple interactive map displays California’s terrain using Leaflet’s `L.map` and `L.tileLayer`, with a centered view at latitude 37 and longitude -120 at zoom level 10. The map pulls raster tiles from Stamen’s terrain service via OpenStreetMap data, styled with the Leaflet CSS. The code initializes a full-viewport map element and adds the tile layer with attribution, demonstrating a minimal Leaflet setup for embedding geographic data.

AI-generated description

Getting started with Leaflet

Built with blockbuilder.org

forked from <a href='http://bl.ocks.org/enjalot/'>enjalot</a>'s block: <a href='http://bl.ocks.org/enjalot/5c780d3df8da2ecceebf117a9ac7be38'>WWSD #1: Leaflet starter</a>

mit Licensed

Similar vizzes