Patch leaflet-locationfilter for leaflet 1.x support
authorTom Hughes <tom@compton.nu>
Tue, 27 Sep 2016 17:15:17 +0000 (18:15 +0100)
committerTom Hughes <tom@compton.nu>
Thu, 29 Sep 2016 07:29:51 +0000 (08:29 +0100)
https://github.com/kajic/leaflet-locationfilter/issues/22
https://github.com/kajic/leaflet-locationfilter/pull/23

vendor/assets/leaflet/leaflet.locationfilter.js

index d120adc..0a977ed 100644 (file)
@@ -90,7 +90,7 @@ L.Control.ButtonContainer = L.Control.extend({
     }
 });
 
-L.LocationFilter = L.Class.extend({
+L.LocationFilter = L.Layer.extend({
     includes: L.Mixin.Events,
 
     options: {