Cosmetic
This commit is contained in:
parent
af9f8d1909
commit
3b59249531
3 changed files with 54 additions and 48 deletions
|
@ -12,7 +12,7 @@ export class MapboxDataAndStyle {
|
||||||
constructor(
|
constructor(
|
||||||
public data: object,
|
public data: object,
|
||||||
public style: MaplibreStyle,
|
public style: MaplibreStyle,
|
||||||
) {}
|
) { }
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -22,7 +22,7 @@ export class GeoJsonService {
|
||||||
private _http: HttpClient,
|
private _http: HttpClient,
|
||||||
// private apollo: Apollo,
|
// private apollo: Apollo,
|
||||||
public mapService: MapService,
|
public mapService: MapService,
|
||||||
) {}
|
) { }
|
||||||
|
|
||||||
getLayer(url: string, params?: object): Observable<object> {
|
getLayer(url: string, params?: object): Observable<object> {
|
||||||
if (!params) {
|
if (!params) {
|
||||||
|
@ -34,7 +34,7 @@ export class GeoJsonService {
|
||||||
}
|
}
|
||||||
|
|
||||||
getStyle(store: string): Observable<MaplibreStyle> {
|
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> {
|
getAll(url: string, store: string, params?: object): Observable<MapboxDataAndStyle> {
|
||||||
|
@ -54,7 +54,7 @@ export class LiveGeoJsonService {
|
||||||
ws: any
|
ws: any
|
||||||
constructor(
|
constructor(
|
||||||
private wsService: WebsocketService
|
private wsService: WebsocketService
|
||||||
) {}
|
) { }
|
||||||
|
|
||||||
connect(channel: string) {
|
connect(channel: string) {
|
||||||
const hostname = window.location.hostname
|
const hostname = window.location.hostname
|
||||||
|
|
|
@ -47,7 +47,7 @@ export const OpenAPI: OpenAPIConfig = {
|
||||||
PASSWORD: undefined,
|
PASSWORD: undefined,
|
||||||
TOKEN: undefined,
|
TOKEN: undefined,
|
||||||
USERNAME: undefined,
|
USERNAME: undefined,
|
||||||
VERSION: '0.1.dev70+g53c2e35.d20240422',
|
VERSION: '0.1.dev85+g41e92fa.d20240509',
|
||||||
WITH_CREDENTIALS: false,
|
WITH_CREDENTIALS: false,
|
||||||
interceptors: {response: new Interceptors(),
|
interceptors: {response: new Interceptors(),
|
||||||
},
|
},
|
||||||
|
|
|
@ -515,7 +515,7 @@ export const $BootstrapData = {
|
||||||
version: {
|
version: {
|
||||||
type: 'string',
|
type: 'string',
|
||||||
title: 'Version',
|
title: 'Version',
|
||||||
default: '0.1.dev70+g53c2e35.d20240422'
|
default: '0.1.dev85+g41e92fa.d20240509'
|
||||||
},
|
},
|
||||||
title: {
|
title: {
|
||||||
type: 'string',
|
type: 'string',
|
||||||
|
@ -542,7 +542,7 @@ export const $BootstrapData = {
|
||||||
opacity: 0.4,
|
opacity: 0.4,
|
||||||
pitch: 0,
|
pitch: 0,
|
||||||
status: ['E', 'F', 'D'],
|
status: ['E', 'F', 'D'],
|
||||||
style: 'osm',
|
style: 'No base map',
|
||||||
tagKeys: ['source'],
|
tagKeys: ['source'],
|
||||||
tileServer: {
|
tileServer: {
|
||||||
baseDir: '/home/phil/gisaf_misc/map',
|
baseDir: '/home/phil/gisaf_misc/map',
|
||||||
|
@ -1713,6 +1713,9 @@ export const $MaplibreStyle = {
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
type: 'string'
|
type: 'string'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
type: 'boolean'
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
@ -1744,6 +1747,9 @@ export const $MaplibreStyle = {
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
type: 'string'
|
type: 'string'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
type: 'boolean'
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue