From 705d8118321a5efed25e08d8ed08ea090d12f07c Mon Sep 17 00:00:00 2001 From: Willem Dantuma Date: Tue, 26 May 2020 17:04:44 +0200 Subject: [PATCH] Fix layer index --- .../selected-item-geotiff.component.html | 8 ++++---- .../selected-item-shape.component.html | 8 ++++---- .../selected-item-shape/selected-item-shape.component.ts | 2 ++ src/configuration.json | 6 +++--- 4 files changed, 13 insertions(+), 11 deletions(-) diff --git a/projects/common-map/src/fm-map/components/selected-item-geotiff/selected-item-geotiff.component.html b/projects/common-map/src/fm-map/components/selected-item-geotiff/selected-item-geotiff.component.html index c8a8474..d71b381 100644 --- a/projects/common-map/src/fm-map/components/selected-item-geotiff/selected-item-geotiff.component.html +++ b/projects/common-map/src/fm-map/components/selected-item-geotiff/selected-item-geotiff.component.html @@ -9,19 +9,19 @@
diff --git a/projects/common-map/src/fm-map/components/selected-item-shape/selected-item-shape.component.html b/projects/common-map/src/fm-map/components/selected-item-shape/selected-item-shape.component.html index 6ec9ebe..5257554 100644 --- a/projects/common-map/src/fm-map/components/selected-item-shape/selected-item-shape.component.html +++ b/projects/common-map/src/fm-map/components/selected-item-shape/selected-item-shape.component.html @@ -9,19 +9,19 @@
diff --git a/projects/common-map/src/fm-map/components/selected-item-shape/selected-item-shape.component.ts b/projects/common-map/src/fm-map/components/selected-item-shape/selected-item-shape.component.ts index daf0ef9..0a50645 100644 --- a/projects/common-map/src/fm-map/components/selected-item-shape/selected-item-shape.component.ts +++ b/projects/common-map/src/fm-map/components/selected-item-shape/selected-item-shape.component.ts @@ -23,8 +23,10 @@ export class SelectedItemShapeComponent extends AbstractSelectedItemComponent { constructor(store: Store, itemTypeService: ItemTypeService, location: Location, router: Router, private itemService$: ItemService,private folderService$: FolderService) { super(store, itemTypeService,location,router); } + public selectedLayer: number = 0; onLayerChanged(layerIndex: number) { + this.selectedLayer = layerIndex; this.store.dispatch(new mapActions.SetLayerIndex(layerIndex)); } diff --git a/src/configuration.json b/src/configuration.json index c42dc6b..2241895 100644 --- a/src/configuration.json +++ b/src/configuration.json @@ -1,9 +1,9 @@ { - "issuer": "https://accounts.farmmaps.awacc.nl", + "issuer": "https://accounts.farmmaps.awtest.nl", "clientId": "farmmapsdev", - "audience": "https://farmmaps.awacc.nl/", + "audience": "https://farmmaps.awtest.nl/", "requireHttps": true, - "apiEndPoint": "https://farmmaps.awacc.nl", + "apiEndPoint": "https://farmmaps.awtest.nl", "grantType":"code" } \ No newline at end of file