This commit is contained in:
phil 2024-05-12 01:40:47 +02:00
parent af9f8d1909
commit 3b59249531
3 changed files with 54 additions and 48 deletions

View file

@ -12,7 +12,7 @@ export class MapboxDataAndStyle {
constructor(
public data: object,
public style: MaplibreStyle,
) {}
) { }
}
@ -22,7 +22,7 @@ export class GeoJsonService {
private _http: HttpClient,
// private apollo: Apollo,
public mapService: MapService,
) {}
) { }
getLayer(url: string, params?: object): Observable<object> {
if (!params) {
@ -34,7 +34,7 @@ export class GeoJsonService {
}
getStyle(store: string): Observable<MaplibreStyle> {
return this.mapService.getLayerStyleApiMapLayerStyleStoreGet({store: store})
return this.mapService.getLayerStyleApiMapLayerStyleStoreGet({ store: store })
}
getAll(url: string, store: string, params?: object): Observable<MapboxDataAndStyle> {
@ -54,7 +54,7 @@ export class LiveGeoJsonService {
ws: any
constructor(
private wsService: WebsocketService
) {}
) { }
connect(channel: string) {
const hostname = window.location.hostname

View file

@ -47,7 +47,7 @@ export const OpenAPI: OpenAPIConfig = {
PASSWORD: undefined,
TOKEN: undefined,
USERNAME: undefined,
VERSION: '0.1.dev70+g53c2e35.d20240422',
VERSION: '0.1.dev85+g41e92fa.d20240509',
WITH_CREDENTIALS: false,
interceptors: {response: new Interceptors(),
},

View file

@ -515,7 +515,7 @@ export const $BootstrapData = {
version: {
type: 'string',
title: 'Version',
default: '0.1.dev70+g53c2e35.d20240422'
default: '0.1.dev85+g41e92fa.d20240509'
},
title: {
type: 'string',
@ -542,7 +542,7 @@ export const $BootstrapData = {
opacity: 0.4,
pitch: 0,
status: ['E', 'F', 'D'],
style: 'osm',
style: 'No base map',
tagKeys: ['source'],
tileServer: {
baseDir: '/home/phil/gisaf_misc/map',
@ -1713,6 +1713,9 @@ export const $MaplibreStyle = {
},
{
type: 'string'
},
{
type: 'boolean'
}
]
},
@ -1744,6 +1747,9 @@ export const $MaplibreStyle = {
},
{
type: 'string'
},
{
type: 'boolean'
}
]
},