Skip to main content
100%

Untitled

✓ Published0🌍 Public
JJoker-tr
Last edited Jan 16, 2020
Created on Jan 16, 2020
Forked from Hello VizHub

This example displays an interactive map centered on Iran, using Leaflet to render tile layers and enable zooming and panning. It shows how to switch between three different OpenStreetMap base layer styles—standard, Hot, and OSM French—via a control menu. The map initializes at coordinates [33, 54] with a zoom level of 5, and each tile layer loads raster imagery from the respective OpenStreetMap tile servers. The code explicitly defines tile layer objects and adds them to a layer control, allowing users to toggle the visual style of the basemap.

AI-generated description
MIT Licensed

Similar vizzes