geokernel-electron 1.1.39 → 1.1.41

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.
Binary file
Binary file
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "geokernel-electron",
3
- "version": "1.1.39",
3
+ "version": "1.1.41",
4
4
  "description": "Electron bindings for the GeoKernel GIS SDK.",
5
5
  "main": "src/index.js",
6
6
  "type": "commonjs",
@@ -301,6 +301,7 @@ const SIGNATURES = Object.freeze({
301
301
  "GeoKernelWindow_SetLegendTitle": ["bool", ["void_p", "wchar_p"]],
302
302
  "GeoKernelWindow_SetLegendWidth": ["bool", ["void_p", "int"]],
303
303
  "GeoKernelWindow_SetStatusText": ["void", ["void_p", "wchar_p"]],
304
+ "GeoKernelWindow_SetAttributionText": ["void", ["void_p", "wchar_p"]],
304
305
  "GeoKernelWindow_Show": ["void", ["void_p"]],
305
306
  });
306
307
 
package/src/viewer.js CHANGED
@@ -246,6 +246,10 @@ class ViewerWindow {
246
246
  this.library.function("GeoKernelWindow_SetStatusText")(this.windowHandle, text ?? "");
247
247
  }
248
248
 
249
+ setAttributionText(text) {
250
+ this.library.function("GeoKernelWindow_SetAttributionText")(this.windowHandle, text ?? "");
251
+ }
252
+
249
253
  setCentralTextPanel(text = "") {
250
254
  const ok = this.library.function("GeoKernelWindow_SetCentralTextPanel")(
251
255
  this.windowHandle,