Skip to content

Commit

Permalink
fix(context): rename order to zIndex
Browse files Browse the repository at this point in the history
  • Loading branch information
mbarbeau committed Oct 19, 2018
1 parent 81436c8 commit 3c7f958
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 3c7f958

Please sign in to comment.