diff --git a/docs/properties.rst b/docs/properties.rst index 99fe88bb7..33a4ddc65 100644 --- a/docs/properties.rst +++ b/docs/properties.rst @@ -650,6 +650,11 @@ Exemples "title": "Donnée geojson sur DQ (pas de service)", "id": "vector1", "sourceOptions": { + "preload": { + "comment": "Charger la donnée dans la source même si le layer est non visible ou hors échelle d'affichage." + "bypassVisible": true + "bypassResolution": true + }, "type": "vector", "url": "https://www.donneesquebec.ca/recherche/dataset/f647f5ed-a8f3-4a47-8ceb-977cbf090675/resource/68e0e20a-415d-44f5-af82-a90311784616/download/bornes-incendies.geojson" "queryable": true, diff --git a/src/contexts/variousFormats.json b/src/contexts/variousFormats.json index 9b5ef4474..4f3467348 100644 --- a/src/contexts/variousFormats.json +++ b/src/contexts/variousFormats.json @@ -110,8 +110,12 @@ }, { "title": "Vector geojson d'appel WFS", + "visible": false, "id": "vector2", "sourceOptions": { + "preload": { + "bypassVisible": true + }, "type": "vector", "url": "https://ws.mapserver.transports.gouv.qc.ca/swtq?service=WFS&request=GetFeature&version=1.1.0&typename=aeroport_piste&outputFormat=geojson", "queryable": true,