forked from MapComplete/MapComplete
Ressurect marker to 'add a new item', but only on long press
This commit is contained in:
parent
9deae9e659
commit
800a4ae849
12 changed files with 111 additions and 49 deletions
|
@ -236,8 +236,9 @@ export default class LinkedDataLoader {
|
|||
static async fetchJsonLd(
|
||||
url: string,
|
||||
options?: JsonLdLoaderOptions,
|
||||
mode: "fetch-lod" | "fetch-raw" | "proxy"
|
||||
mode?: "fetch-lod" | "fetch-raw" | "proxy"
|
||||
): Promise<object> {
|
||||
mode ??= "fetch-lod"
|
||||
if (mode === "proxy") {
|
||||
url = Constants.linkedDataProxy.replace("{url}", encodeURIComponent(url))
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue