Sha256: 46cb3748fc46068e8a6cd3db00d57bd9f4eb1bb743522e1b48d323af228a11a6
Contents?: true
Size: 506 Bytes
Versions: 10
Compression:
Stored size: 506 Bytes
Contents
L.FeatureGroup.include({ // TODO: remove this when AOP is supported in Leaflet, need this as we cannot put code in removeLayer() clearLayers: function () { this.unbindLabel(); this.eachLayer(this.removeLayer, this); return this; }, bindLabel: function (content, options) { return this.invoke('bindLabel', content, options); }, unbindLabel: function () { return this.invoke('unbindLabel'); }, updateLabelContent: function (content) { this.invoke('updateLabelContent', content); } });
Version data entries
10 entries across 10 versions & 1 rubygems