From 3c7f9582a8a8a4618a718d0e6c660afa98c57572 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc-Andr=C3=A9=20Barbeau?= Date: Fri, 19 Oct 2018 13:36:29 -0400 Subject: [PATCH] fix(context): rename order to zIndex --- .../context/src/lib/context-manager/shared/context.service.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/projects/context/src/lib/context-manager/shared/context.service.ts b/projects/context/src/lib/context-manager/shared/context.service.ts index 8ad899f4d0..de44cc4eac 100644 --- a/projects/context/src/lib/context-manager/shared/context.service.ts +++ b/projects/context/src/lib/context-manager/shared/context.service.ts @@ -355,13 +355,12 @@ export class ContextService { const layers = igoMap.layers$.getValue(); - let order = layers.length; for (const l of layers) { const layer: any = l; const opts = { id: layer.options.id ? String(layer.options.id) : undefined, title: layer.options.title, - order: order--, + zIndex: layer.zIndex, visible: layer.visible, sourceOptions: { type: layer.dataSource.options.type,