From f2d269cf4c377b2ceba91ec2a5b969568285e338 Mon Sep 17 00:00:00 2001 From: Benjamin Becquet Date: Sat, 16 Jul 2016 16:13:19 +0200 Subject: [PATCH] Version 1.1.0 --- bower.json | 2 +- leaflet.polylineDecorator.js | 4 ++-- package.json | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/bower.json b/bower.json index e40bf4d..a1fab15 100644 --- a/bower.json +++ b/bower.json @@ -1,7 +1,7 @@ { "name": "leaflet-polylinedecorator", "main": "leaflet.polylineDecorator.js", - "version": "1.0.1", + "version": "1.1.0", "authors": [ "Benjamin Becquet" ], diff --git a/leaflet.polylineDecorator.js b/leaflet.polylineDecorator.js index 1267eb0..153ffaf 100644 --- a/leaflet.polylineDecorator.js +++ b/leaflet.polylineDecorator.js @@ -167,13 +167,13 @@ L.LineUtil.PolylineDecorator = { } }; -L.PolylineDecorator = L.LayerGroup.extend({ +L.PolylineDecorator = L.FeatureGroup.extend({ options: { patterns: [] }, initialize: function(paths, options) { - L.LayerGroup.prototype.initialize.call(this); + L.FeatureGroup.prototype.initialize.call(this); L.Util.setOptions(this, options); this._map = null; this._initPaths(paths); diff --git a/package.json b/package.json index 392ef6b..6b20397 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "leaflet-polylinedecorator", - "version": "1.0.1", + "version": "1.1.0", "repository": "bbecquet/Leaflet.PolylineDecorator", "main": "leaflet.polylineDecorator.js", "devDependencies": {