Skip to content

Commit

Permalink
fix(query): inverse order
Browse files Browse the repository at this point in the history
  • Loading branch information
mbarbeau committed Mar 6, 2018
1 parent 8ad4667 commit b5bd402
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/lib/query/shared/query.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ export class QueryService {
id: uuid(),
source: dataSource.title,
sourceType: SourceFeatureType.Query,
order: zIndex,
order: 1000 - zIndex,
title: title ? title : `${dataSource.title} (${index + 1})`,
projection: options.projection
});
Expand Down Expand Up @@ -229,7 +229,7 @@ export class QueryService {
source: undefined,
sourceType: SourceFeatureType.Query,
type: FeatureType.Feature,
order: zIndex,
order: 1000 - zIndex,
format: FeatureFormat.GeoJSON,
title: undefined,
icon: 'place',
Expand Down

0 comments on commit b5bd402

Please sign in to comment.