kartena / Proj4Leaflet

Smooth Proj4js integration with Leaflet.
http://kartena.github.io/Proj4Leaflet/
BSD 2-Clause "Simplified" License
590 stars 173 forks source link

Allowing 'null' GeoJSON to be used on layer creation. #107

Closed MuellerMatthew closed 8 years ago

perliedman commented 8 years ago

Hi and thanks for this!

I was a bit confused about this PR, since I was certain this was already fixed, but it turns out this fix (and some other commits) had not been ported into the leaflet-proj-refactor branch, which is why you didn't have them.

Anyway, I've moved the relevant commits over to the leaflet-proj-refactor branch - it includes commit 05a274c869e3b17bac3866d06231b983e6da0045, which fixes the issue with empty GeoJSON data.

I'm going to close this since it would be confusing to have different fixes for the different branches, but thanks again for contributing, without this it would have taken a while to realize the branches were out of sync!