Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Leaflet Tutorial 2.0

Public visualization

Viewing a saved revision (read-only)

117615fad8e740fcbe27d50817dd33a9

Leaflet Tutorial 2.0

0 stars1🌍 Public
SSam Hege
Last edited Jan 25, 2023
Created on Jan 25, 2023
Forked from Fork of World Map

This example demonstrates a full-screen interactive map centered on Lubbock, Texas, using the Leaflet JavaScript library. It loads two base layers: an OpenStreetMap tile service and a Google satellite tile layer, with the latter supporting subdomains and a maximum zoom level. A marker is placed at the city’s coordinates, bound to a popup that opens immediately, displaying the label "Lubbock." The map is initialized with the Leaflet `map` function, and both tile layers and the marker are added via the `addTo` method, showcasing basic layer and popup management.

AI-generated description

Leaflet loading practice