Leaflet Generic JSON Layer

Simple way for transform any JSON data source in a Leaflet Layer!

Other useful stuff for Web Mapping...

Features

Examples


Repositories

Github.com
Bitbucket.org

Download


Usage


var ajaxUrl = "search.php?lat1={minlat}&lat2={maxlat}&lon1={minlon}&lon2={maxlon}";

map.addLayer( new L.LayerJSON({url: ajaxUrl }) );

//and move map for request new data

For questions and bugs I recommend you to create New Issue on Github repository.
Or to obtain a fast response consult Official Leaflet community forum.

This is a micro discussion area for methods of implementation.
Labs
Fork me on GitHub