Skip to main content
100%

Simple Leaflet Map

✓ Published0🌍 Public
Dd3noob
Last edited Apr 20, 2014
Created on Feb 22, 2014

This example displays the positions of seventeen aircraft as markers on an interactive map of the Wellington, New Zealand area. It uses the Leaflet JavaScript library, specifically the `L.map`, `L.tileLayer`, and `L.marker` APIs, to render OpenStreetMap tiles as the base layer. Aircraft identifiers and coordinates are stored in a hardcoded array, and each marker pops up its associated ID when clicked. The map is initialized with a set view and zoom level.

AI-generated description

A second demonstration file showing multiple aircraft locations.

Similar vizzes