Leaflet - geoJSON - Polygons
✓ Published0🌍 Public
NNPashaP
Last edited Jan 21, 2018
Created on Jan 21, 2018
This example creates an interactive web map using the Leaflet library, displaying a custom GeoJSON MultiPolygon feature as a shaded area over OpenStreetMap tiles. The map is initialized with a center point and zoom level, then a tile layer provides the base map. A GeoJSON object defines two polygon shapes—one with a hole—which are added directly to the map via Leaflet’s `L.geoJSON` API. The map uses the VizJS library for tile configuration and fills the entire viewport.
AI-generated descriptiongpl-3.0 Licensed