Leaflet¶
Browser/Mobile Map Library¶
Leaflet is an JavaScript library for browser based, mobile-friendly, interactive maps. It is light weight, yet has all the features most developers ever need for online maps.
Leaflet is designed with simplicity, performance and usability in mind. It works efficiently across all major desktop and mobile platforms out of the box, taking advantage of HTML5 and CSS3 on modern browsers while being accessible on older ones too. It can be extended with many plugins, has a beautiful, easy to use and well-documented API and a simple, readable source code that is a joy to contribute to.
Keskeiset ominaisuudet¶
Map Layers
Tiles, Markers, Popups, Image overlays, WMS, GeoJSON
Vectors: polylines, polygons, circles, rectangles, circle markers
Layer groups
Customization Features
Pure CSS3 popups and controls for easy restyling
Image- and HTML-based markers
Custom map layers, controls, projections
Powerful OOP facilities for extending existing classes
- Interaction and Visual Features
Drag panning with inertia
Keyboard navigation
Multi-touch
Zoom/Panning animation
Very nice default design for markers, popups and other map controls
Retina resolution support for tile layers and markers
Performance Features
Hardware acceleration
Utilizing CSS3 features to make panning and zooming really smooth
Smart polyline/polygon rendering
Modular design allows including only required features
Tap delay elimination on mobile devices
Map Controls
Zoom buttons, Attribution, Layer switcher, Scale
Desktop Browser Support
Chrome
Firefox
Safari 5+
Opera 12+
IE 7–11
Mobile Browser Support
Safari for iOS 3-7+
Android browser 2.2+, 3.1+, 4+
Chrome for Android 4+ and iOS
Firefox for Android
Other webkit-based browsers (webOS, Blackberry 7+, etc.)
IE10/IE11 for Win8-based devices
Misc
Extremely lightweight — around 34 KB of gzipped JS code
No external dependencies
Keeps your JS environment clean — no global or native prototypes pollution
Lisätiedot¶
Website: https://leafletjs.com
Lisenssi: BSD
Software Version: 1.7.1
Supported Platforms: Windows, Mac, Linux, Android, iOS
API Interfaces: Javascript