wip
This commit is contained in:
parent
9376c236aa
commit
2949e39fcd
@ -129,7 +129,7 @@ export class ItemLayersComponent extends LayerGroupComponent implements OnChange
|
|||||||
source: new VectorTileSource({
|
source: new VectorTileSource({
|
||||||
maxZoom: rt.maxzoom,
|
maxZoom: rt.maxzoom,
|
||||||
minZoom: rt.minzoom,
|
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)}`
|
url: `${this._apiEndPoint}/api/v1/items/${item.code}/vectortiles/{z}/{x}/{y}.pbf?v=${Date.parse(item.updated)}`
|
||||||
}),
|
}),
|
||||||
style: (feature) => {
|
style: (feature) => {
|
||||||
@ -386,7 +386,7 @@ export class ItemLayersComponent extends LayerGroupComponent implements OnChange
|
|||||||
}
|
}
|
||||||
|
|
||||||
mapEventHandler = (event) => {
|
mapEventHandler = (event) => {
|
||||||
return;
|
//return;
|
||||||
//if(event.type === 'click' && !this.onFeatureSelected.observers.length) return;
|
//if(event.type === 'click' && !this.onFeatureSelected.observers.length) return;
|
||||||
//if(event.type === 'pointermode' && !this.onFeatureHover.observers.length) return;
|
//if(event.type === 'pointermode' && !this.onFeatureHover.observers.length) return;
|
||||||
if(this.itemLayer && this.itemLayer.layer) {
|
if(this.itemLayer && this.itemLayer.layer) {
|
||||||
|
@ -1,9 +1,9 @@
|
|||||||
{
|
{
|
||||||
"issuer": "https://accounts.test.farmmaps.eu",
|
"issuer": "https://accounts.test.farmmaps.eu",
|
||||||
"clientId": "farmmapsdev",
|
"clientId": "farmmapsdev",
|
||||||
"audience": "https://test.farmmaps.eu/",
|
"audience": "http://localhost:8082",
|
||||||
"requireHttps": true,
|
"requireHttps": true,
|
||||||
"apiEndPoint": "https://test.farmmaps.eu",
|
"apiEndPoint": "http://localhost:8082",
|
||||||
"grantType":"code"
|
"grantType":"code"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user