Leaflet/README.md
2010-09-28 21:12:19 +03:00

1.6 KiB

Leaflet

Leaflet is a lightweight JavaScript library for map display and interaction by CloudMade. It will form the core of CloudMade's next generation JavaScript API.

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 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.

Contributing to Leaflet

We really look forward to any help with the development! But first, in order to contribute to Leaflet, you will need to sign a non-exclusive copyright assignment agreement online. We're forced to ask this to ensure that CloudMade can redistribute the library with your contributions in it. Please contact leaflet@cloudmade.com about this. After signing the agreement, we'll be happy to accept your contributions!

What's left to do for a feature-complete version

Interaction:

  • shift-drag zoom
  • double tap on mobile webkit

Overlays:

  • markers
  • vectors (polyline, polygon, circle)
  • popup window (with smart autosizing)
  • KML, GeoRSS, GeoJSON layers

Controls:

  • control infrastructure (smart positioning)
  • copyright control
  • basic zoom control
  • zoom slider

Visual appearance:

  • zooming animation
  • show scaled background until tiles are loaded
  • panning intertia on mobile webkit