Fix base uri for embedded tiles

This commit is contained in:
phil 2024-10-24 16:35:56 +02:00
parent 55e8f9d02d
commit b9d1bb1116

View file

@ -80,7 +80,7 @@ export class MapComponent implements AfterContentInit, OnInit {
let conf = this.configService.conf.value
let bms = conf.background
if (conf.bootstrap.baseMapStyles.embedded.indexOf(bms) >= 0) {
this.styleUrl = `/tiles/style/${bms}`
this.styleUrl = `tiles/style/${bms}`
}
else {
this.styleUrl = conf.bootstrap.baseMapStyles.external[bms]