src/pyams_gis/resources/js/leaflet-esri-heatmap-2.0.0.min.js
changeset 57 35c64c85e5f5
parent 56 37970a213463
--- a/src/pyams_gis/resources/js/leaflet-esri-heatmap-2.0.0.min.js	Thu Jul 12 17:40:07 2018 +0200
+++ b/src/pyams_gis/resources/js/leaflet-esri-heatmap-2.0.0.min.js	Fri Jul 20 12:51:02 2018 +0200
@@ -1,1 +1,1 @@
-(function(b,a){typeof exports==="object"&&typeof module!=="undefined"?a(exports,require("leaflet"),require("esri-leaflet")):typeof define==="function"&&define.amd?define(["exports","leaflet","esri-leaflet"],a):(a((b.L=b.L||{},b.L.esri=b.L.esri||{},b.L.esri.Heat=b.L.esri.Heat||{}),b.L,b.L.esri))}(this,function(c,a,d){a="default" in a?a["default"]:a;var b="2.0.0";var f=d.FeatureManager.extend({initialize:function(g){d.FeatureManager.prototype.initialize.call(this,g);g=a.setOptions(this,g);this._cache={};this._active={};this.heat=window.L.heatLayer([],g)},onAdd:function(g){d.FeatureManager.prototype.onAdd.call(this,g);this._map.addLayer(this.heat)},onRemove:function(g){d.FeatureManager.prototype.onRemove.call(this,g);this._map.removeLayer(this.heat)},createLayers:function(j){for(var h=j.length-1;h>=0;h--){var g=j[h];var l=g.id;var k=new a.LatLng(g.geometry.coordinates[1],g.geometry.coordinates[0]);this._cache[l]=k;if(!this._active[l]&&(!this.options.timeField||(this.options.timeField&&this._featureWithinTimeRange(g)))){this._active[l]=k;this.heat._latlngs.push(k)}}this.heat.redraw()},addLayers:function(h){for(var g=h.length-1;g>=0;g--){var k=h[g];if(!this._active[k]){var j=this._cache[k];this.heat._latlngs.push(j);this._active[k]=j}}this.heat.redraw()},removeLayers:function(j,k){var h=[];for(var g=j.length-1;g>=0;g--){var m=j[g];if(this._active[m]){delete this._active[m]}if(this._cache[m]&&k){delete this._cache[m]}}for(var l in this._active){h.push(this._active[l])}this.heat.setLatLngs(h)},setOptions:function(g){this.heat.setOptions(g)},redraw:function(){this.heat.redraw()}});function e(g){return new f(g)}c.FeatureLayer=f;c.featureLayer=e;c["default"]=e;c.VERSION=b}));
\ No newline at end of file
+q(function(b,a){typeof exports==="object"&&typeof module!=="undefined"?a(exports,require("leaflet"),require("esri-leaflet")):typeof define==="function"&&define.amd?define(["exports","leaflet","esri-leaflet"],a):(a((b.L=b.L||{},b.L.esri=b.L.esri||{},b.L.esri.Heat=b.L.esri.Heat||{}),b.L,b.L.esri))}(this,function(c,a,d){a="default" in a?a["default"]:a;var b="2.0.0";var f=d.FeatureManager.extend({initialize:function(g){d.FeatureManager.prototype.initialize.call(this,g);g=a.setOptions(this,g);this._cache={};this._active={};this.heat=window.L.heatLayer([],g)},onAdd:function(g){d.FeatureManager.prototype.onAdd.call(this,g);this._map.addLayer(this.heat)},onRemove:function(g){d.FeatureManager.prototype.onRemove.call(this,g);this._map.removeLayer(this.heat)},createLayers:function(j){for(var h=j.length-1;h>=0;h--){var g=j[h];var l=g.id;var k=new a.LatLng(g.geometry.coordinates[1],g.geometry.coordinates[0]);this._cache[l]=k;if(!this._active[l]&&(!this.options.timeField||(this.options.timeField&&this._featureWithinTimeRange(g)))){this._active[l]=k;this.heat._latlngs.push(k)}}this.heat.redraw()},addLayers:function(h){for(var g=h.length-1;g>=0;g--){var k=h[g];if(!this._active[k]){var j=this._cache[k];this.heat._latlngs.push(j);this._active[k]=j}}this.heat.redraw()},removeLayers:function(j,k){var h=[];for(var g=j.length-1;g>=0;g--){var m=j[g];if(this._active[m]){delete this._active[m]}if(this._cache[m]&&k){delete this._cache[m]}}for(var l in this._active){h.push(this._active[l])}this.heat.setLatLngs(h)},setOptions:function(g){this.heat.setOptions(g)},redraw:function(){this.heat.redraw()}});function e(g){return new f(g)}c.FeatureLayer=f;c.featureLayer=e;c["default"]=e;c.VERSION=b}));