@vaadin/map 23.0.0-beta2 → 23.0.0-beta3
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 +3 -3
- package/src/vaadin-map.js +12 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vaadin/map",
|
|
3
|
-
"version": "23.0.0-
|
|
3
|
+
"version": "23.0.0-beta3",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
],
|
|
36
36
|
"dependencies": {
|
|
37
37
|
"@polymer/polymer": "^3.0.0",
|
|
38
|
-
"@vaadin/component-base": "23.0.0-
|
|
38
|
+
"@vaadin/component-base": "23.0.0-beta3",
|
|
39
39
|
"@vaadin/vaadin-license-checker": "^2.1.0",
|
|
40
40
|
"ol": "6.11.0"
|
|
41
41
|
},
|
|
@@ -44,5 +44,5 @@
|
|
|
44
44
|
"@vaadin/testing-helpers": "^0.3.2",
|
|
45
45
|
"sinon": "^9.2.4"
|
|
46
46
|
},
|
|
47
|
-
"gitHead": "
|
|
47
|
+
"gitHead": "4c87216666541f9eb58f56c475964727822aad53"
|
|
48
48
|
}
|
package/src/vaadin-map.js
CHANGED
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
* Copyright (c) 2022 - 2022 Vaadin Ltd.
|
|
4
4
|
* This program is available under Commercial Vaadin Developer License 4.0, available at https://vaadin.com/license/cvdl-4.0.
|
|
5
5
|
*/
|
|
6
|
+
import '@vaadin/vaadin-license-checker/vaadin-license-checker.js';
|
|
6
7
|
import { html, PolymerElement } from '@polymer/polymer/polymer-element.js';
|
|
7
8
|
import { defaults as defaultControls } from 'ol/control';
|
|
8
9
|
import { defaults as defaultInteractions } from 'ol/interaction';
|
|
@@ -373,6 +374,17 @@ class Map extends ResizeMixin(FocusMixin(ElementMixin(ThemableMixin(PolymerEleme
|
|
|
373
374
|
return 'vaadin-map';
|
|
374
375
|
}
|
|
375
376
|
|
|
377
|
+
/** @protected */
|
|
378
|
+
static _finalizeClass() {
|
|
379
|
+
super._finalizeClass();
|
|
380
|
+
|
|
381
|
+
const devModeCallback = window.Vaadin.developmentModeCallback;
|
|
382
|
+
const licenseChecker = devModeCallback && devModeCallback['vaadin-license-checker'];
|
|
383
|
+
if (typeof licenseChecker === 'function') {
|
|
384
|
+
licenseChecker(Map);
|
|
385
|
+
}
|
|
386
|
+
}
|
|
387
|
+
|
|
376
388
|
/**
|
|
377
389
|
* The internal OpenLayers map instance used to configure the map.
|
|
378
390
|
* See the OpenLayers [API](https://openlayers.org/en/latest/apidoc/) and
|