septima-widget 3.4.0 → 3.4.1
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/package.json +1 -1
- package/widgetapi.mjs +3 -3
package/package.json
CHANGED
package/widgetapi.mjs
CHANGED
|
@@ -6,7 +6,7 @@ export default class WidgetAPI {
|
|
|
6
6
|
|
|
7
7
|
_target = null
|
|
8
8
|
|
|
9
|
-
VERSION = '3.4.
|
|
9
|
+
VERSION = '3.4.1'
|
|
10
10
|
|
|
11
11
|
constructor(target, config, options) {
|
|
12
12
|
this._target = target
|
|
@@ -14,7 +14,7 @@ export default class WidgetAPI {
|
|
|
14
14
|
}
|
|
15
15
|
|
|
16
16
|
async _load(target, config, options) {
|
|
17
|
-
const { load } = await import('https://widget.cdn.septima.dk/3.4.
|
|
17
|
+
const { load } = await import('https://widget.cdn.septima.dk/3.4.1/core/load.mjs')
|
|
18
18
|
this._widget = await load(target, config, options, this.VERSION)
|
|
19
19
|
this.on('controlsready', () => {
|
|
20
20
|
this._controlsReady()
|
|
@@ -192,7 +192,7 @@ export default class WidgetAPI {
|
|
|
192
192
|
|
|
193
193
|
transform(geojson, options, callback) {
|
|
194
194
|
this._controlsReady(async () => {
|
|
195
|
-
const { transform } = await import('https://widget.cdn.septima.dk/3.4.
|
|
195
|
+
const { transform } = await import('https://widget.cdn.septima.dk/3.4.1/core/utils.mjs')
|
|
196
196
|
if (callback) {
|
|
197
197
|
callback(transform(geojson, options));
|
|
198
198
|
} else {
|