bmaplib.heatmap
Advanced tools
Comparing version 1.0.3 to 1.0.4
14
index.js
@@ -675,3 +675,8 @@ (function (root, factory) { | ||
} | ||
inherits(HeatmapOverlay, BMap.Overlay, "HeatmapOverlay"); | ||
if (!HeatmapOverlay._isExtended) { | ||
HeatmapOverlay._isExtended = true; | ||
inherits(HeatmapOverlay, BMap.Overlay, "HeatmapOverlay"); | ||
var newHeatmap = new HeatmapOverlay(opts); | ||
this.__proto__ = newHeatmap.__proto__; | ||
} | ||
// HeatmapOverlay.prototype = new BMap.Overlay(); | ||
@@ -683,9 +688,2 @@ this.conf = opts; | ||
this._moveendHandler = this._moveendHandler.bind(this); | ||
if (!HeatmapOverlay.isExtended) { | ||
HeatmapOverlay.isExtended = true; | ||
var newHeatmap = new HeatmapOverlay(opts); | ||
this.prototype = newHeatmap.prototype; | ||
this.__proto__ = newHeatmap.__proto__; | ||
} | ||
} | ||
@@ -692,0 +690,0 @@ |
{ | ||
"name": "bmaplib.heatmap", | ||
"version": "1.0.3", | ||
"version": "1.0.4", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
33777
744