wip
This commit is contained in:
parent
9376c236aa
commit
2949e39fcd
@ -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) {
|
||||
|
@ -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"
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user