Selasa, 14 Agustus 2012

Script of the Day: Leaflet


Leaflet is a nifty little tool, developed in vanilla JavaScript for working with map data. Its purpose is to ease the process of embedding a map in web pages and also to simplify adding custom map controls.

Fully supportive of mobile devices and responsive layouts, Leaflet is one of the few libraries fit to be used in developing apps for a wide variety of handheld devices. Leaflet works without problems in all A-grade desktop and mobile browsers.

The library supports map actions like: zooming (scroll wheel, double-click, area selection, keyboard, touch gestures), drag inertia, panning, adding markers and tooltips, custom marker styling, overlaying layers (shapes, lines, etc.), custom control buttons and many others more.

To avoid bulking up like most other map-centric JS libraries, Leaflet has been written following a modular design, so certain features that might not get used in a project can be left out in the build stage.

Currently, Leaflet development is carried out via GitHub.

Download Leaflet from our Scripts section here.

Via: Script of the Day: Leaflet

Tidak ada komentar:

Posting Komentar