Leaflet is a client-side JavaScript mapping library, currently at 2.0.0-alpha.1. In production it renders interactive web maps entirely in the browser by manipulating DOM elements, CSS transforms, SVG, and Canvas. The source is organized as an ES module library: `src/Leaflet.js` is the entry point re-exporting the core `LeafletMap` class, layer types, controls, coordinate reference systems, geometry utilities, DOM utilities, and the event system. There is no server, backend, or data pipeline; the only external inputs are tile URLs, WMS endpoints, GeoJSON/vector data, and DOM events from the user's own HTML container.
squaremap is a Minecraft server plugin/mod that renders live top-down world maps to a web interface, similar to Dynmap but with a minimalist design. It supports multiple server platforms (Paper, Fabric, NeoForge, Sponge) through a shared core module with platform-specific adapters, built using Gradle multi-module and a custom build-logic. The backend captures chunk snapshots via mixins/access transformers, renders them into PNG tiles using biome and block color data, and serves them via an embedded Undertow HTTP server. Tiles are generated asynchronously with a FIFO caching system, and the system provides commands for full/radius renders, pause/resume, and visibility controls. The web frontend is a Leaflet-based TypeScript app with player tracking, world selection, layer controls, and coordinate display. The project also exposes a public API for other plugins to add markers, layers, icons, and player managers. The architecture is cleanly separated into API, common, and platform-specific modules, with dependency injection (Guice) and standard libraries (Cloud command framework, Configurate, Adventure). It is actively maintained, with recent commits and support for bleeding-edge Minecraft versions, but the heavy reliance on internal Minecraft code and multiple platform-specific mixins introduces maintenance complexity and drift risk.
This repository is a community-maintained interactive web map for Red Dead Online (RDO), built as a single-page application using Leaflet. It provides players with a comprehensive overlay of in-game locations, including collectibles, animals, plants, shops, hideouts, random encounters, legendary animal spawns, free roam events, and daily challenges. The application is entirely client-side, loading static JSON data files and rendering markers on a Leaflet map with custom styling, clustering, and heatmaps. It features a rich side menu for filtering, a settings panel with localStorage persistence, user-customizable pins, and a localization system supporting over 30 languages via Crowdin. The architecture is modular, with separate JavaScript files for each map category (e.g., animals.js, plants.js, bounties.js) and utility modules for settings, language, and data loading. External dependencies include Leaflet, Bootstrap, Tippy, and several Leaflet plugins, all loaded via CDN or vendored copies. The repository also contains development scripts for extracting game data from binary files and generating route optimization algorithms. While primarily an application, it has a strong data component with curated JSON datasets that must be manually updated when the game changes.
Nakarte is a client-side single-page web mapping application built with Leaflet and Knockout, specialized for outdoor activities like hiking, cycling, and mountaineering. It provides an extensive catalog of map layers (OSM, satellite, topographic, overlays) with a strong focus on European and Russian regions. The application includes comprehensive GPS track management: loading from files (GPX, KML, GeoJSON, etc.) and online services (Strava, Garmin, OSM, Wikiloc), editing, elevation profiles, and exporting to GPX/KML/ZIP or Garmin JNX format. Additional features include search with multiple providers, panorama viewers (Mapillary, Wikimedia), azimuth/distance measurement, coordinate display in various formats, map printing with page layout, session save/restore, and custom layer configuration. The architecture is a classic Leaflet-based SPA with Knockout for UI bindings, webpack for bundling, and a separate CORS proxy server for tile access. External dependencies include Leaflet, Knockout, protobuf for track serialization, and various external API services. The codebase shows signs of organic growth with legacy code patterns (vendored scripts, relaxed ESLint for old files) and mixed English/Russian comments.