Currently the demo page is broken because the Leaflet master API has GeoJSON class changed slightly (addGeoJSON method renamed to addData). The page includes Leaflet like this:
This is an extremely bad practice as your code is always prone to breaking, as master branch is an in-progress development version. You should either link to stable version (e.g. with Leaflet CDN http://leaflet.cloudmade.com/download.html), or put the master version files into your repo and update manually.
Currently the demo page is broken because the Leaflet master API has GeoJSON class changed slightly (
addGeoJSON
method renamed toaddData
). The page includes Leaflet like this:This is an extremely bad practice as your code is always prone to breaking, as master branch is an in-progress development version. You should either link to stable version (e.g. with Leaflet CDN http://leaflet.cloudmade.com/download.html), or put the master version files into your repo and update manually.