geokernel-electron 1.0.3 → 1.0.5
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/bin/GeoKernel.Core.dll
CHANGED
|
Binary file
|
|
Binary file
|
package/bin/GeoKernel.Viewer.dll
CHANGED
|
Binary file
|
package/package.json
CHANGED
package/src/native-signatures.js
CHANGED
|
@@ -186,6 +186,7 @@ const SIGNATURES = Object.freeze({
|
|
|
186
186
|
"GeoKernelViewer_SetLayerVisible": ["bool", ["void_p", "int", "bool"]],
|
|
187
187
|
"GeoKernelViewer_SetLayerVisibleScaleRange": ["bool", ["void_p", "int", "double", "double"]],
|
|
188
188
|
"GeoKernelViewer_SetLicenseKey": ["void", ["void_p", "wchar_p"]],
|
|
189
|
+
"GeoKernelViewer_SetLicenseManagerUrl": ["void", ["void_p", "wchar_p"]],
|
|
189
190
|
"GeoKernelViewer_SetLoggingModeName": ["void", ["void_p", "wchar_p"]],
|
|
190
191
|
"GeoKernelViewer_SetMapBackgroundColor": ["void", ["void_p", "int"]],
|
|
191
192
|
"GeoKernelViewer_SetMapStyleName": ["bool", ["void_p", "wchar_p", "bool"]],
|
package/src/viewer.js
CHANGED
|
@@ -34,6 +34,7 @@ class GeoKernelLibrary {
|
|
|
34
34
|
this.windowAddNavigationToolbar = this.native.getFunction("GeoKernelWindow_AddNavigationToolbar");
|
|
35
35
|
this.processEvents = this.native.getFunction("GeoKernelViewer_ProcessEvents");
|
|
36
36
|
this.setActivationType = this.native.getFunction("GeoKernelViewer_SetActivationTypeName");
|
|
37
|
+
this.setLicenseManagerUrl = this.native.getFunction("GeoKernelViewer_SetLicenseManagerUrl");
|
|
37
38
|
this.setLicenseKey = this.native.getFunction("GeoKernelViewer_SetLicenseKey");
|
|
38
39
|
this.setTool = this.native.getFunction("GeoKernelViewer_SetTool");
|
|
39
40
|
this.addLayerFile = this.native.getFunction("GeoKernelViewer_AddLayerFile");
|
|
@@ -81,6 +82,10 @@ class ViewerWindow {
|
|
|
81
82
|
this.library.setActivationType(this.viewerHandle, value);
|
|
82
83
|
}
|
|
83
84
|
|
|
85
|
+
setLicenseManagerUrl(value) {
|
|
86
|
+
this.library.setLicenseManagerUrl(this.viewerHandle, value ?? "");
|
|
87
|
+
}
|
|
88
|
+
|
|
84
89
|
setLicenseKey(value) {
|
|
85
90
|
this.library.setLicenseKey(this.viewerHandle, value);
|
|
86
91
|
}
|