From: Tom Hughes Date: Tue, 27 Sep 2016 17:15:17 +0000 (+0100) Subject: Patch leaflet-locationfilter for leaflet 1.x support X-Git-Tag: live~3775 X-Git-Url: https://git.openstreetmap.org/rails.git/commitdiff_plain/1084d073acd2ddb2d8c04943f80d621db2192c03?hp=f4a4632b45af73f051f846bc01f4d45c58f77f8b Patch leaflet-locationfilter for leaflet 1.x support https://github.com/kajic/leaflet-locationfilter/issues/22 https://github.com/kajic/leaflet-locationfilter/pull/23 --- diff --git a/vendor/assets/leaflet/leaflet.locationfilter.js b/vendor/assets/leaflet/leaflet.locationfilter.js index d120adc30..0a977ed41 100644 --- a/vendor/assets/leaflet/leaflet.locationfilter.js +++ b/vendor/assets/leaflet/leaflet.locationfilter.js @@ -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: {