diff --git a/projects/common-map/src/fm-map/components/aol/item-layers/item-layers.component.ts b/projects/common-map/src/fm-map/components/aol/item-layers/item-layers.component.ts index e00a475..292b359 100644 --- a/projects/common-map/src/fm-map/components/aol/item-layers/item-layers.component.ts +++ b/projects/common-map/src/fm-map/components/aol/item-layers/item-layers.component.ts @@ -129,7 +129,7 @@ export class ItemLayersComponent extends LayerGroupComponent implements OnChange source: new VectorTileSource({ maxZoom: rt.maxzoom, minZoom: rt.minzoom, - format: new MVT({idProperty:'OBJECTID'}), + format: new MVT(), url: `${this._apiEndPoint}/api/v1/items/${item.code}/vectortiles/{z}/{x}/{y}.pbf?v=${Date.parse(item.updated)}` }), style: (feature) => { @@ -386,7 +386,7 @@ export class ItemLayersComponent extends LayerGroupComponent implements OnChange } mapEventHandler = (event) => { - return; + //return; //if(event.type === 'click' && !this.onFeatureSelected.observers.length) return; //if(event.type === 'pointermode' && !this.onFeatureHover.observers.length) return; if(this.itemLayer && this.itemLayer.layer) { diff --git a/src/configuration.json b/src/configuration.json index f9a46d6..c38ec06 100644 --- a/src/configuration.json +++ b/src/configuration.json @@ -1,9 +1,9 @@ { "issuer": "https://accounts.test.farmmaps.eu", "clientId": "farmmapsdev", - "audience": "https://test.farmmaps.eu/", + "audience": "http://localhost:8082", "requireHttps": true, - "apiEndPoint": "https://test.farmmaps.eu", + "apiEndPoint": "http://localhost:8082", "grantType":"code" } \ No newline at end of file