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 d120adc30f2e0baa85d6187d2d28ef6b5c28f269..0a977ed413182bb4d659834f45f929c72f0717f0 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: {