This commit is contained in:
Willem Dantuma 2021-01-22 12:26:14 +01:00
parent 9376c236aa
commit 2949e39fcd
2 changed files with 4 additions and 4 deletions

View File

@ -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) {

View File

@ -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"
}