codeforboston / ungentry

Contributing to the policy discussion about gentrification and possible displacement
http://codeforboston.github.io/ungentry/
MIT License
35 stars 42 forks source link

Integrate LeafletJS 1.0 #97

Open mjrouser opened 9 years ago

mjrouser commented 9 years ago

Leaflet has a new version out in beta! http://leafletjs.com/2015/07/15/leaflet-1.0-beta1-released.html

It has lots of performance enhancements and upgrades, so it would be great to see if it can fit with our current setup.

sonya commented 9 years ago

I downloaded the current leaflet-1.0.0-b1 and dropped it directly in the project. There was one line I had to change to make it stop throwing errors.

On line 11 of censusLayer.js, change L.Class.extend to L.Layer.extend

After this it looks pretty okay, at least superficially