From 8ea1b3f6a5544065d7cacec98ab2769f018d08fd Mon Sep 17 00:00:00 2001 From: Emrys Roef Date: Thu, 22 Aug 2024 15:53:28 +0200 Subject: [PATCH] requested change --- dist/commonjs/zoneerder/components/oe-fullscreen.js | 2 +- dist/commonjs/zoneerder/components/oe-fullscreen.js.map | 2 +- dist/native-modules/zoneerder/components/oe-fullscreen.js | 2 +- dist/native-modules/zoneerder/components/oe-fullscreen.js.map | 2 +- src/gis-utils/components/ol-geolocate.ts | 3 +-- src/zoneerder/components/oe-fullscreen.ts | 3 +-- 6 files changed, 6 insertions(+), 8 deletions(-) diff --git a/dist/commonjs/zoneerder/components/oe-fullscreen.js b/dist/commonjs/zoneerder/components/oe-fullscreen.js index 36144729..bc2633f5 100644 --- a/dist/commonjs/zoneerder/components/oe-fullscreen.js +++ b/dist/commonjs/zoneerder/components/oe-fullscreen.js @@ -23,7 +23,6 @@ var OeFullscreen = (function (_super) { var _this = _super.call(this, optOptions) || this; _this.watchId = null; _this.options = optOptions || {}; - var tipLabel = _this.options.tipLabel ? _this.options.tipLabel : 'Vergroot / verklein het scherm'; var className = _this.options.className || 'full-screen'; _this.element = document.createElement('div'); _this.element.className = "".concat(className, " ol-control ol-unselectable"); @@ -34,6 +33,7 @@ var OeFullscreen = (function (_super) { _this.source = document.getElementById(_this.options.source); } var button = document.createElement('button'); + var tipLabel = _this.options.tipLabel ? _this.options.tipLabel : 'Vergroot / verklein het scherm'; button.setAttribute('title', tipLabel); button.className = 'full-screen-false'; button.addEventListener('click', _this.toggleFullscreen.bind(_this), false); diff --git a/dist/commonjs/zoneerder/components/oe-fullscreen.js.map b/dist/commonjs/zoneerder/components/oe-fullscreen.js.map index 2c1bb7ff..86763603 100644 --- a/dist/commonjs/zoneerder/components/oe-fullscreen.js.map +++ b/dist/commonjs/zoneerder/components/oe-fullscreen.js.map @@ -1 +1 @@ -{"version":3,"sources":["zoneerder/components/oe-fullscreen.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;AAA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B;QACE,IAAI,IAAI,CAAC,UAAU,EAAE,CAAC;YACpB,OAAO,IAAI,CAAC,UAAU,CAAC;QACzB,CAAC;QACD,IAAM,IAAI,GAAG,QAAQ,CAAC,IAAI,CAAC;QAC3B,IAAI,IAAI,CAAC,yBAAyB,CAAC,EAAE,CAAC;YACpC,IAAI,CAAC,UAAU,GAAG,wBAAwB,CAAC;QAC7C,CAAC;aAAM,IAAI,IAAI,CAAC,sBAAsB,CAAC,EAAE,CAAC;YACxC,IAAI,CAAC,UAAU,GAAG,qBAAqB,CAAC;QAC1C,CAAC;aAAM,IAAI,IAAI,CAAC,qBAAqB,CAAC,EAAE,CAAC;YACvC,IAAI,CAAC,UAAU,GAAG,oBAAoB,CAAC;QACzC,CAAC;aAAM,IAAI,IAAI,CAAC,iBAAiB,EAAE,CAAC;YAClC,IAAI,CAAC,UAAU,GAAG,kBAAkB,CAAC;QACvC,CAAC;QACD,OAAO,IAAI,CAAC,UAAU,CAAC;IACzB,CAAC;IACH,mBAAC;AAAD,CAjHA,AAiHC,CAjHiC,EAAE,CAAC,OAAO,CAAC,OAAO,GAiHnD;AAjHY,oCAAY","file":"oe-fullscreen.js","sourceRoot":"../../../../src/"} \ No newline at end of file +{"version":3,"sources":["zoneerder/components/oe-fullscreen.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;AAAA,+BAAiC;AAIjC;IAAkC,gCAAkB;IAQlD,sBAAY,UAA6B;QACvC,YAAA,MAAK,YAAC,UAAU,CAAC,SAAC;QALZ,aAAO,GAAG,IAAI,CAAC;QAMrB,KAAI,CAAC,OAAO,GAAG,UAAU,IAAI,EAAE,CAAC;QAEhC,IAAM,SAAS,GAAG,KAAI,CAAC,OAAO,CAAC,SAAS,IAAI,aAAa,CAAC;QAC1D,KAAI,CAAC,OAAO,GAAG,QAAQ,CAAC,aAAa,CAAC,KAAK,CAAC,CAAC;QAC7C,KAAI,CAAC,OAAO,CAAC,SAAS,GAAG,UAAG,SAAS,gCAA6B,CAAC;Q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CAAC;YACvC,IAAI,CAAC,UAAU,GAAG,oBAAoB,CAAC;QACzC,CAAC;aAAM,IAAI,IAAI,CAAC,iBAAiB,EAAE,CAAC;YAClC,IAAI,CAAC,UAAU,GAAG,kBAAkB,CAAC;QACvC,CAAC;QACD,OAAO,IAAI,CAAC,UAAU,CAAC;IACzB,CAAC;IACH,mBAAC;AAAD,CAhHA,AAgHC,CAhHiC,EAAE,CAAC,OAAO,CAAC,OAAO,GAgHnD;AAhHY,oCAAY","file":"oe-fullscreen.js","sourceRoot":"../../../../src/"} \ No newline at end of file diff --git a/dist/native-modules/zoneerder/components/oe-fullscreen.js b/dist/native-modules/zoneerder/components/oe-fullscreen.js index e9d052f4..0f9a7d63 100644 --- a/dist/native-modules/zoneerder/components/oe-fullscreen.js +++ b/dist/native-modules/zoneerder/components/oe-fullscreen.js @@ -20,7 +20,6 @@ var OeFullscreen = (function (_super) { var _this = _super.call(this, optOptions) || this; _this.watchId = null; _this.options = optOptions || {}; - var tipLabel = _this.options.tipLabel ? _this.options.tipLabel : 'Vergroot / verklein het scherm'; var className = _this.options.className || 'full-screen'; _this.element = document.createElement('div'); _this.element.className = "".concat(className, " ol-control ol-unselectable"); @@ -31,6 +30,7 @@ var OeFullscreen = (function (_super) { _this.source = document.getElementById(_this.options.source); } var button = document.createElement('button'); + var tipLabel = _this.options.tipLabel ? _this.options.tipLabel : 'Vergroot / verklein het scherm'; button.setAttribute('title', tipLabel); button.className = 'full-screen-false'; button.addEventListener('click', _this.toggleFullscreen.bind(_this), false); diff --git a/dist/native-modules/zoneerder/components/oe-fullscreen.js.map b/dist/native-modules/zoneerder/components/oe-fullscreen.js.map index 9988d477..2497b9de 100644 --- a/dist/native-modules/zoneerder/components/oe-fullscreen.js.map +++ b/dist/native-modules/zoneerder/components/oe-fullscreen.js.map @@ -1 +1 @@ -{"version":3,"sources":["zoneerder/components/oe-fullscreen.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,OAAO,KAAK,EAAE,MAAM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AArB;QACE,IAAI,IAAI,CAAC,UAAU,EAAE,CAAC;YACpB,OAAO,IAAI,CAAC,UAAU,CAAC;QACzB,CAAC;QACD,IAAM,IAAI,GAAG,QAAQ,CAAC,IAAI,CAAC;QAC3B,IAAI,IAAI,CAAC,yBAAyB,CAAC,EAAE,CAAC;YACpC,IAAI,CAAC,UAAU,GAAG,wBAAwB,CAAC;QAC7C,CAAC;aAAM,IAAI,IAAI,CAAC,sBAAsB,CAAC,EAAE,CAAC;YACxC,IAAI,CAAC,UAAU,GAAG,qBAAqB,CAAC;QAC1C,CAAC;aAAM,IAAI,IAAI,CAAC,qBAAqB,CAAC,EAAE,CAAC;YACvC,IAAI,CAAC,UAAU,GAAG,oBAAoB,CAAC;QACzC,CAAC;aAAM,IAAI,IAAI,CAAC,iBAAiB,EAAE,CAAC;YAClC,IAAI,CAAC,UAAU,GAAG,kBAAkB,CAAC;QACvC,CAAC;QACD,OAAO,IAAI,CAAC,UAAU,CAAC;IACzB,CAAC;IACH,mBAAC;AAAD,CAjHA,AAiHC,CAjHiC,EAAE,CAAC,OAAO,CAAC,OAAO,GAiHnD","file":"oe-fullscreen.js","sourceRoot":"../../../../src/"} \ No newline at end of file +{"version":3,"sources":["zoneerder/components/oe-fullscreen.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,OAAO,KAAK,EAAE,MAAM,YAAY,CAAC;AAIjC;IAAkC,gCAAkB;IAQlD,sBAAY,UAA6B;QACvC,YAAA,MAAK,YAAC,UAAU,CAAC,SAAC;QALZ,aAAO,GAAG,IAAI,CAAC;QAMrB,KAAI,CAAC,OAAO,GAAG,UAAU,IAAI,EAAE,CAAC;QAEhC,IAAM,SAAS,GAAG,KAAI,CAAC,OAAO,CAAC,SAAS,IAAI,aAAa,CAAC;QAC1D,KAAI,CAAC,OAAO,GAAG,QAAQ,CAAC,aAAa,CAAC,KAAK,CAAC,CAAC;QAC7C,KAAI,CAAC,OAAO,CAAC,SAAS,GAAG,UAAG,SAAS,gCA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CAAC,EAAE,CAAC;YACvC,IAAI,CAAC,UAAU,GAAG,oBAAoB,CAAC;QACzC,CAAC;aAAM,IAAI,IAAI,CAAC,iBAAiB,EAAE,CAAC;YAClC,IAAI,CAAC,UAAU,GAAG,kBAAkB,CAAC;QACvC,CAAC;QACD,OAAO,IAAI,CAAC,UAAU,CAAC;IACzB,CAAC;IACH,mBAAC;AAAD,CAhHA,AAgHC,CAhHiC,EAAE,CAAC,OAAO,CAAC,OAAO,GAgHnD","file":"oe-fullscreen.js","sourceRoot":"../../../../src/"} \ No newline at end of file diff --git a/src/gis-utils/components/ol-geolocate.ts b/src/gis-utils/components/ol-geolocate.ts index d5461e18..89389155 100644 --- a/src/gis-utils/components/ol-geolocate.ts +++ b/src/gis-utils/components/ol-geolocate.ts @@ -10,12 +10,11 @@ export class Geolocate extends ol.control.Control { super(optOptions); this.options = optOptions || {}; - const tipLabel = this.options.tipLabel ? this.options.tipLabel : 'Zoom naar je eigen locatie'; - this.element = document.createElement('div'); this.element.className = 'ol-geolocate ol-control ol-unselectable'; const button = document.createElement('button'); + const tipLabel = this.options.tipLabel ? this.options.tipLabel : 'Zoom naar je eigen locatie'; button.setAttribute('title', tipLabel); button.innerHTML = ''; this.element.appendChild(button); diff --git a/src/zoneerder/components/oe-fullscreen.ts b/src/zoneerder/components/oe-fullscreen.ts index f68e9092..6b81fb26 100644 --- a/src/zoneerder/components/oe-fullscreen.ts +++ b/src/zoneerder/components/oe-fullscreen.ts @@ -14,8 +14,6 @@ export class OeFullscreen extends ol.control.Control { super(optOptions); this.options = optOptions || {}; - const tipLabel = this.options.tipLabel ? this.options.tipLabel : 'Vergroot / verklein het scherm'; - const className = this.options.className || 'full-screen'; this.element = document.createElement('div'); this.element.className = `${className} ol-control ol-unselectable`; @@ -27,6 +25,7 @@ export class OeFullscreen extends ol.control.Control { } const button = document.createElement('button'); + const tipLabel = this.options.tipLabel ? this.options.tipLabel : 'Vergroot / verklein het scherm'; button.setAttribute('title', tipLabel); button.className = 'full-screen-false'; button.addEventListener('click', this.toggleFullscreen.bind(this), false);