UNPKG

maplair

Version:

JavaScript library for mobile-friendly interactive maps

44 lines (33 loc) • 2.5 kB
<img width="600" src="src/images/logo.svg" alt="Maplair" /> Maplair is an open-source JavaScript library for **building powerful interactive maps**, a fork of [Leaflet](https://leafletjs.com), the leading library for this. Since Maplair supports tree-shaking, your bundler shakes off the leaves you don't use 🍁 A map with just a tile layer weighs about 34 kB of gzipped JS plus 5.3 kB of gzipped CSS code. With everything included, about 63 kB of gzipped JS, it has all the mapping [features][] most developers ever need. Maplair is designed with *simplicity*, *performance* and *usability* in mind. It works efficiently across all major desktop and mobile platforms out of the box, using only web features that are [Baseline Widely available](https://web.dev/baseline). It is easy to [extend][], has a beautiful, easy to use and [well-documented][] API and a simple, readable [source code][] that is a joy to [contribute][] to. For more info, docs and tutorials, check out the [official website][].<br> For **Maplair downloads** (including the built main version), check out the [download page][]. We're happy to meet new contributors. If you want to **get involved** with Maplair development, check out the [contribution guide][contribute]. Let's make the best mapping library that will ever exist, and push the limits of what's possible with online maps! ## Authors Maplair is developed by [Simon Legner](https://github.com/simon04) as a fork of [Leaflet](https://leafletjs.com), created in 2010 by [Volodymyr Agafonkin](https://agafonkin.com). Major contributors include Iván Sánchez Ortega, Dave Leaver, Yohan Boniface, Jon Koops, Florian Bischof, Per Liedman and John Firebaugh, along with [hundreds of other contributors][contributors]. [![CI](https://github.com/maplair/maplair/actions/workflows/main.yml/badge.svg)](https://github.com/maplair/maplair/actions/workflows/main.yml) [contributors]: https://github.com/maplair/maplair/graphs/contributors [features]: https://maplair.org/#features [extend]: https://maplair.org/examples/extending-1-classes/ [well-documented]: https://maplair.org/reference.html "Maplair API reference" [source code]: https://github.com/maplair/maplair "Maplair GitHub repository" [hosted on GitHub]: https://github.com/maplair/maplair [contribute]: https://github.com/maplair/maplair/blob/main/CONTRIBUTING.md "A guide to contributing to Maplair" [official website]: https://maplair.org [download page]: https://maplair.org/download.html