Docs: finish creating the overview of all online services

This commit is contained in:
Pieter Vander Vennet 2025-06-29 22:42:28 +02:00
parent e9209f6b7c
commit 2361fe5e83
17 changed files with 177 additions and 94 deletions

View file

@ -14,7 +14,6 @@ import {
QuestionableTagRenderingConfigJson,
} from "../../src/Models/ThemeConfig/Json/QuestionableTagRenderingConfigJson"
import { LayerConfigJson } from "../../src/Models/ThemeConfig/Json/LayerConfigJson"
import { ImmutableStore } from "../../src/Logic/UIEventSource"
export interface ServerSourceInfo {
url: string
@ -38,11 +37,6 @@ export class SourceOverview {
layoutJson?: ThemeConfigJson): Promise<(ServerSourceInfo | string)[]> {
const apiUrls: (ServerSourceInfo | string)[] = [
...Constants.allServers,
"https://www.openstreetmap.org",
"https://api.openstreetmap.org",
"https://panoramax.mapcomplete.org",
<ServerSourceInfo>{
url: "https://data.mapcomplete.org/nsi",
description: "Contains a copy and the logos of the Name Suggestion Index",
@ -87,7 +81,6 @@ export class SourceOverview {
if (typeof item === "string") {
return true
}
console.log(item)
return item.url?.trim()?.length > 0
})