namazu-ts 1.3.8 → 1.3.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/browser/index.js +1 -1
- package/dist/node/index.js +1 -1
- package/package.json +1 -1
- package/src/sismomap.ts +1 -1
package/dist/browser/index.js
CHANGED
|
@@ -20111,7 +20111,7 @@ var SismoMap = class {
|
|
|
20111
20111
|
map.getCanvas().dispatchEvent(readyEvent);
|
|
20112
20112
|
});
|
|
20113
20113
|
const min = Math.min(map.getCanvas().height, map.getCanvas().width);
|
|
20114
|
-
this._spinDezoom =
|
|
20114
|
+
this._spinDezoom = -6.7322 + 1.3905 * Math.log(min) - 0.5;
|
|
20115
20115
|
this.name = name;
|
|
20116
20116
|
this.changeLanguage(lang);
|
|
20117
20117
|
}
|
package/dist/node/index.js
CHANGED
|
@@ -1127,7 +1127,7 @@ var SismoMap = class {
|
|
|
1127
1127
|
map.getCanvas().dispatchEvent(readyEvent);
|
|
1128
1128
|
});
|
|
1129
1129
|
const min = Math.min(map.getCanvas().height, map.getCanvas().width);
|
|
1130
|
-
this._spinDezoom =
|
|
1130
|
+
this._spinDezoom = -6.7322 + 1.3905 * Math.log(min) - 0.5;
|
|
1131
1131
|
this.name = name;
|
|
1132
1132
|
this.changeLanguage(lang);
|
|
1133
1133
|
}
|
package/package.json
CHANGED
package/src/sismomap.ts
CHANGED
|
@@ -356,7 +356,7 @@ paint: {
|
|
|
356
356
|
|
|
357
357
|
});
|
|
358
358
|
const min = Math.min(map.getCanvas().height, map.getCanvas().width);
|
|
359
|
-
this._spinDezoom =
|
|
359
|
+
this._spinDezoom = -6.7322 + 1.3905 * Math.log(min) - 0.5;
|
|
360
360
|
this.name = name;
|
|
361
361
|
this.changeLanguage(lang);
|
|
362
362
|
}
|