bmaplib.markerclusterer
Advanced tools
Comparing version 1.0.5 to 1.0.6
@@ -1615,3 +1615,3 @@ (function (global, factory) { | ||
var thatBounds = this.getBounds(); | ||
this._clusterMarker.addEventListener("click", function(event){ | ||
this._clusterMarker.addEventListener && this._clusterMarker.addEventListener("click", function(event){ | ||
thatMap.setViewport(thatBounds); | ||
@@ -1618,0 +1618,0 @@ }); |
{ | ||
"name": "bmaplib.markerclusterer", | ||
"version": "1.0.5", | ||
"version": "1.0.6", | ||
"description": "A library of Baidu Map JS API", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -8,6 +8,8 @@ import babel from 'rollup-plugin-babel' | ||
export default { | ||
entry: path.resolve(__dirname, './src/index.js'), | ||
dest: path.resolve(__dirname, './index.js'), | ||
format: 'umd', | ||
moduleName: 'BMapLib.MarkerClusterer', | ||
input: path.resolve(__dirname, './src/index.js'), | ||
output: { | ||
file: path.resolve(__dirname, './index.js'), | ||
format: 'umd' | ||
}, | ||
name: 'BMapLib.MarkerClusterer', | ||
plugins: [ | ||
@@ -14,0 +16,0 @@ babel({ |
@@ -565,3 +565,3 @@ import TextIconOverlay from 'bmaplib.texticonoverlay'; | ||
var thatBounds = this.getBounds(); | ||
this._clusterMarker.addEventListener("click", function(event){ | ||
this._clusterMarker.addEventListener && this._clusterMarker.addEventListener("click", function(event){ | ||
thatMap.setViewport(thatBounds); | ||
@@ -568,0 +568,0 @@ }); |
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
78526
2015