From b6e732ab479e51292162b82757399c1c9f6e6de4 Mon Sep 17 00:00:00 2001 From: DaryaNeko Date: Tue, 19 Mar 2024 14:56:25 +0500 Subject: [PATCH] =?UTF-8?q?=D0=9A=D0=BE=D1=81=D1=8F=D0=BA=20=D0=BD=D0=B0?= =?UTF-8?q?=D0=B4=D0=BF=D0=B8=D1=81=D0=B5=D0=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- addon/components/layers/odata-vector-layer.js | 2 +- addon/components/layers/wfs-layer.js | 2 +- addon/styles/addon.less | 1 + 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/addon/components/layers/odata-vector-layer.js b/addon/components/layers/odata-vector-layer.js index d56ae0148..892b77777 100644 --- a/addon/components/layers/odata-vector-layer.js +++ b/addon/components/layers/odata-vector-layer.js @@ -209,7 +209,7 @@ export default BaseVectorLayer.extend({ }); }); - this._createStringLabel([layer], leafletObject.labelsLayers); + this._createStringLabel([layer], leafletObject); } }, diff --git a/addon/components/layers/wfs-layer.js b/addon/components/layers/wfs-layer.js index 79ca5b549..ce565e4a8 100644 --- a/addon/components/layers/wfs-layer.js +++ b/addon/components/layers/wfs-layer.js @@ -244,7 +244,7 @@ export default BaseVectorLayer.extend({ }); }); - this._createStringLabel([layer], leafletObject.labelsLayers); + this._createStringLabel([layer], leafletObject); } }, diff --git a/addon/styles/addon.less b/addon/styles/addon.less index efc6035b2..52096a346 100644 --- a/addon/styles/addon.less +++ b/addon/styles/addon.less @@ -80,6 +80,7 @@ display: flex; justify-content: center; flex-direction: column; + align-items: center; } .leaflet-marker-icon.label.point {