Leaflet/README.md

35 lines
1.3 KiB
Markdown
Raw Normal View History

2010-09-23 19:16:31 +08:00
Leaflet
=======
2010-09-23 17:04:30 +08:00
Leaflet is a lightweight JavaScript library for map display and interaction by [CloudMade](http://cloudmade.com). It will form the core of CloudMade's next generation JavaScript API.
2010-09-23 16:57:14 +08:00
2010-09-23 17:04:30 +08:00
It is built from the ground up to work well on both desktop and mobile web browsers, utilizing cutting-edge technologies included in HTML5. It's main priorities are usability, performance, [A-grade](http://developer.yahoo.com/yui/articles/gbs/) browser support (up to IE6), flexibility and easy to use API. The OOP-based code of the library is designed to be modular, extensible and very easy to understand and modify.
2010-09-23 16:57:14 +08:00
## Contributing to Leaflet
2010-11-16 22:04:56 +08:00
Please send your pull requests to [mourner](http://github.com/mourner) - we'll be happy to accept your contributions!
2010-09-23 23:44:14 +08:00
2010-09-25 22:25:41 +08:00
## What's left to do for a feature-complete version
2010-09-23 23:47:38 +08:00
2010-09-25 22:25:41 +08:00
Interaction:
2010-09-23 23:44:14 +08:00
- shift-drag zoom
2010-09-29 02:12:19 +08:00
- double tap on mobile webkit
2010-09-29 02:13:22 +08:00
- panning intertia on mobile webkit
2010-09-25 22:25:41 +08:00
Overlays:
2010-09-23 23:44:14 +08:00
- markers
2010-09-25 22:25:41 +08:00
- vectors (polyline, polygon, circle)
- popup window (with smart autosizing)
- KML, GeoRSS, GeoJSON layers
2010-09-23 23:44:14 +08:00
Controls:
2010-09-23 23:47:38 +08:00
2010-09-23 23:44:14 +08:00
- control infrastructure (smart positioning)
- copyright control
- basic zoom control
- zoom slider
Visual appearance:
2010-09-23 23:47:38 +08:00
2010-09-23 23:44:14 +08:00
- zooming animation
2010-09-29 02:13:22 +08:00
- show scaled background until tiles are loaded