From 2bfaafa11d114bc0dbc5809272cbb30eddf1fe8d Mon Sep 17 00:00:00 2001 From: Shkarupa Daniil <52880180+shkarsmode@users.noreply.github.com> Date: Fri, 17 May 2024 15:05:01 +0300 Subject: [PATCH] Update marker.component.ts There is no way to achieve sorting logic efficiency without this feature --- libs/ngx-mapbox-gl/src/lib/marker/marker.component.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libs/ngx-mapbox-gl/src/lib/marker/marker.component.ts b/libs/ngx-mapbox-gl/src/lib/marker/marker.component.ts index 490c1315..3ea6f9e7 100644 --- a/libs/ngx-mapbox-gl/src/lib/marker/marker.component.ts +++ b/libs/ngx-mapbox-gl/src/lib/marker/marker.component.ts @@ -19,7 +19,7 @@ import { deprecationWarning } from '../utils'; @Component({ selector: 'mgl-marker', - template: '
', + template: '
', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, }) @@ -37,6 +37,7 @@ export class MarkerComponent @Input() draggable?: MarkerOptions['draggable']; @Input() popupShown?: boolean; @Input() className: string; + @Input() zIndex: number; @Input() pitchAlignment?: MarkerOptions['pitchAlignment']; @Input() rotationAlignment?: MarkerOptions['rotationAlignment'];