diff --git a/assets/src/modules/Action.js b/assets/src/modules/Action.js index 01a22ce1eb..c5e6b3016b 100644 --- a/assets/src/modules/Action.js +++ b/assets/src/modules/Action.js @@ -107,14 +107,14 @@ export default class Action { // Add action buttons if needed let popupContainerId = popup.containerId; let popupContainer = document.getElementById(popupContainerId); + if (!popupContainer) return false; - let featureIdInputSelector = 'div.lizmapPopupContent input.lizmap-popup-layer-feature-id'; - Array.from(popupContainer.querySelectorAll(featureIdInputSelector)).map(element => { - // Get layer id and feature id - let val = element.value; - let featureId = val.split('.').pop(); - let layerId = val.replace('.' + featureId, ''); + Array.from(popupContainer.querySelectorAll('div.lizmapPopupContent .lizmapPopupSingleFeature')).map(element => { + + // Get layer ID and feature ID + const featureId = element.dataset.featureId; + const layerId = element.dataset.layerId; // Get layer lizmap config let getLayerConfig = mainLizmap.lizmap3.getLayerConfigById(layerId); diff --git a/lizmap/modules/lizmap/lib/Request/WMSRequest.php b/lizmap/modules/lizmap/lib/Request/WMSRequest.php index b348fd40b1..248a7cf7ae 100644 --- a/lizmap/modules/lizmap/lib/Request/WMSRequest.php +++ b/lizmap/modules/lizmap/lib/Request/WMSRequest.php @@ -701,6 +701,8 @@ protected function gfiVectorXmlToHtml($layerId, $layerName, $layerTitle, $layer, ++$layerFeaturesCounter; // Hidden input containing layer id and feature id + // TODO Deprecated, it will be removed later + // Use data-attributes in the parent div instead $hiddenFeatureId = ''.PHP_EOL; $popupFeatureContent = $this->getViewTpl('view~popupDefaultContent', $layerName, $layerId, $layerTitle, array( diff --git a/lizmap/modules/view/templates/popup.tpl b/lizmap/modules/view/templates/popup.tpl index aedea6cdb6..b1b262b855 100644 --- a/lizmap/modules/view/templates/popup.tpl +++ b/lizmap/modules/view/templates/popup.tpl @@ -1,4 +1,4 @@ -
+

{$layerTitle}

diff --git a/tests/end2end/playwright/popup.spec.js b/tests/end2end/playwright/popup.spec.js index 09c89ae5fb..682227ca0f 100644 --- a/tests/end2end/playwright/popup.spec.js +++ b/tests/end2end/playwright/popup.spec.js @@ -95,8 +95,8 @@ test.describe('Style parameter in GetFeatureInfo request', () => { await page.waitForTimeout(300); - // get the popup of the feature with id = 3. The STYLE property (STYLE=default) should be passed in the getfeatureinfo request. - // Otherwise the popup would not be shown because QGIS Server query the layer natural_areas with the "ids" style + // get the popup of the feature with id = 3. The STYLE property (STYLE=default) should be passed in the GetFeatureInfo request. + // Otherwise, the popup would not be shown because QGIS Server query the layer natural_areas with the "ids" style let getPopup = page.waitForRequest(request => request.method() === 'POST' && request.postData()?.includes('STYLE=default') === true); @@ -109,6 +109,10 @@ test.describe('Style parameter in GetFeatureInfo request', () => { await getPopup; + const mainPopup = page.locator("#popupcontent div.lizmapPopupContent div.lizmapPopupSingleFeature") + await expect(mainPopup).toHaveAttribute("data-layer-id", "natural_areas_d4a1a538_3bff_4998_a186_38237507ac1e") + await expect(mainPopup).toHaveAttribute("data-feature-id") + // inspect feature toolbar, expect to find only one const popup = page.locator("#popupcontent > div.menu-content > div.lizmapPopupContent > div.lizmapPopupSingleFeature > div.lizmapPopupDiv div.container.popup_lizmap_dd") await expect(popup).toHaveCount(1) @@ -183,7 +187,7 @@ test.describe('Style parameter in GetFeatureInfo request', () => { expect(getFeatureInfoRequest.postData()).not.toMatch(/LEGEND_OFF/); let getFeatureInfoResponse = await getFeatureInfoRequest.response() expect(getFeatureInfoResponse?.headers()['content-type']).toContain('text/html'); - expect(getFeatureInfoResponse?.headers()['content-length']).toBe('1789'); + expect(getFeatureInfoResponse?.headers()['content-length']).toBe('1875'); // inspect feature toolbar, expect to find only one const popup = page.locator("#popupcontent > div.menu-content > div.lizmapPopupContent > div.lizmapPopupSingleFeature > div.lizmapPopupDiv div.container.popup_lizmap_dd") @@ -221,6 +225,26 @@ test.describe('Style parameter in GetFeatureInfo request', () => { }) }) +test.describe('Raster identify', () => { + + test('Raster identify check with data-attributes', async ({ page }) => { + const url = '/index.php/view/map/?repository=testsrepository&project=rasters'; + await gotoMap(url, page); + + let getFeatureInfoPromise = page.waitForRequest(request => request.method() === 'POST' && request.postData()?.includes('GetFeatureInfo') === true); + await page.locator('#newOlMap').click({ + position: { + x: 510, + y: 415 + } + }); + let getFeatureInfoRequest = await getFeatureInfoPromise + const popup = page.locator("#popupcontent div.lizmapPopupContent div.lizmapPopupSingleFeature") + await expect(popup).toHaveAttribute("data-layer-id", "local_raster_layer_c4c2ec5e_7567_476b_bf78_2b7c64f32615") + await expect(popup).not.toHaveAttribute("data-feature-id", ) + }); +}); + test.describe('Popup', () => { test.beforeEach(async ({ page }) => { @@ -381,7 +405,7 @@ test.describe('Popup', () => { y: 415 } }); - await page.waitForTimeout(500); // wait to be sure, no request sended + await page.waitForTimeout(500); // wait to be sure, no request sent await expect(page.locator('#newOlMap #liz_layer_popup')).not.toBeVisible(); // Erasing @@ -395,7 +419,7 @@ test.describe('Popup', () => { y: 415 } }); - await page.waitForTimeout(500); // wait to be sure, no request sended + await page.waitForTimeout(500); // wait to be sure, no request sent await expect(page.locator('#newOlMap #liz_layer_popup')).not.toBeVisible(); }); }); diff --git a/tests/qgis-projects/tests/rasters.qgs b/tests/qgis-projects/tests/rasters.qgs index a3baf9f0f1..894c65c82b 100644 --- a/tests/qgis-projects/tests/rasters.qgs +++ b/tests/qgis-projects/tests/rasters.qgs @@ -1,9 +1,8 @@ - - - + + - - + + PROJCRS["WGS 84 / Pseudo-Mercator",BASEGEOGCRS["WGS 84",ENSEMBLE["World Geodetic System 1984 ensemble",MEMBER["World Geodetic System 1984 (Transit)"],MEMBER["World Geodetic System 1984 (G730)"],MEMBER["World Geodetic System 1984 (G873)"],MEMBER["World Geodetic System 1984 (G1150)"],MEMBER["World Geodetic System 1984 (G1674)"],MEMBER["World Geodetic System 1984 (G1762)"],MEMBER["World Geodetic System 1984 (G2139)"],ELLIPSOID["WGS 84",6378137,298.257223563,LENGTHUNIT["metre",1]],ENSEMBLEACCURACY[2.0]],PRIMEM["Greenwich",0,ANGLEUNIT["degree",0.0174532925199433]],ID["EPSG",4326]],CONVERSION["Popular Visualisation Pseudo-Mercator",METHOD["Popular Visualisation Pseudo Mercator",ID["EPSG",1024]],PARAMETER["Latitude of natural origin",0,ANGLEUNIT["degree",0.0174532925199433],ID["EPSG",8801]],PARAMETER["Longitude of natural origin",0,ANGLEUNIT["degree",0.0174532925199433],ID["EPSG",8802]],PARAMETER["False easting",0,LENGTHUNIT["metre",1],ID["EPSG",8806]],PARAMETER["False northing",0,LENGTHUNIT["metre",1],ID["EPSG",8807]]],CS[Cartesian,2],AXIS["easting (X)",east,ORDER[1],LENGTHUNIT["metre",1]],AXIS["northing (Y)",north,ORDER[2],LENGTHUNIT["metre",1]],USAGE[SCOPE["Web mapping and visualisation."],AREA["World between 85.06°S and 85.06°N."],BBOX[-85.06,-180,85.06,180]],ID["EPSG",3857]] @@ -17,46 +16,51 @@ false - + - - + + + + + + - + - + - + - + - - + - @@ -66,16 +70,17 @@ raster_78572dfa_41b3_42da_a9c6_933ead8bad8f _556b8429_919c_4409_bd14_ba2ca0be894f Orthophoto_IGN_997dbea1_0d55_4064_87e5_afd16839bae4 + local_raster_layer_c4c2ec5e_7567_476b_bf78_2b7c64f32615 - + - + - - - + + + meters 415769.56593372020870447 @@ -98,177 +103,45 @@ 0 - + - - - - - - - - - - - - - - + - - - - - degrees - - 179769313486231570814527423731704356798070567525844996598917476803157260780028538760589558632766878171540458953514382464234321326889464182768467546703537516986049910576551282076245490090389328944075868508455133942304583236903222948165808559332123348274797826204144723168738177180919299881250404026184124858368 - 179769313486231570814527423731704356798070567525844996598917476803157260780028538760589558632766878171540458953514382464234321326889464182768467546703537516986049910576551282076245490090389328944075868508455133942304583236903222948165808559332123348274797826204144723168738177180919299881250404026184124858368 - -179769313486231570814527423731704356798070567525844996598917476803157260780028538760589558632766878171540458953514382464234321326889464182768467546703537516986049910576551282076245490090389328944075868508455133942304583236903222948165808559332123348274797826204144723168738177180919299881250404026184124858368 - -179769313486231570814527423731704356798070567525844996598917476803157260780028538760589558632766878171540458953514382464234321326889464182768467546703537516986049910576551282076245490090389328944075868508455133942304583236903222948165808559332123348274797826204144723168738177180919299881250404026184124858368 - - 0 - - - GEOGCRS["WGS 84",ENSEMBLE["World Geodetic System 1984 ensemble",MEMBER["World Geodetic System 1984 (Transit)"],MEMBER["World Geodetic System 1984 (G730)"],MEMBER["World Geodetic System 1984 (G873)"],MEMBER["World Geodetic System 1984 (G1150)"],MEMBER["World Geodetic System 1984 (G1674)"],MEMBER["World Geodetic System 1984 (G1762)"],MEMBER["World Geodetic System 1984 (G2139)"],ELLIPSOID["WGS 84",6378137,298.257223563,LENGTHUNIT["metre",1]],ENSEMBLEACCURACY[2.0]],PRIMEM["Greenwich",0,ANGLEUNIT["degree",0.0174532925199433]],CS[ellipsoidal,2],AXIS["geodetic latitude (Lat)",north,ORDER[1],ANGLEUNIT["degree",0.0174532925199433]],AXIS["geodetic longitude (Lon)",east,ORDER[2],ANGLEUNIT["degree",0.0174532925199433]],USAGE[SCOPE["Horizontal component of 3D system."],AREA["World."],BBOX[-90,-180,90,180]],ID["EPSG",4326]] - +proj=longlat +datum=WGS84 +no_defs - 3452 - 4326 - EPSG:4326 - WGS 84 - longlat - EPSG:7030 - true - - - 0 - - - + + Annotations_23a1f26c_1934_499d_96e5_57b4a0f9a7b8 @@ -295,8 +168,8 @@ - - + + @@ -312,9 +185,9 @@ false - + - + 1 1 @@ -322,14 +195,14 @@ 0 - 1 0 - + - + -20037508.34278924390673637 -30240971.95838614925742149 @@ -370,8 +243,8 @@ - - + + @@ -387,16 +260,16 @@ false - + wms - + - + - + 1 1 @@ -409,91 +282,91 @@ - + + + - + + + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + + + - + + + + + + + + + + + + + @@ -502,23 +375,23 @@ + + - + - - + + None WholeRaster @@ -528,14 +401,14 @@ 2 - - - + + + resamplingFilter 0 - + -20037508.34278924390673637 -20037508.34278924763202667 @@ -549,7 +422,7 @@ 85.05112877980660357 _556b8429_919c_4409_bd14_ba2ca0be894f - type=xyz&url=https://tile.openstreetmap.org/%7Bz%7D/%7Bx%7D/%7By%7D.png&zmax=19&zmin=0 + crs=EPSG:3857&format&type=xyz&url=https://tile.openstreetmap.org/%7Bz%7D/%7Bx%7D/%7By%7D.png&zmax=19&zmin=0 OpenStreetMap @@ -576,9 +449,9 @@ Tuiles OpenStreetMap OpenStreetMap est construit par une communauté de cartographes qui contribuent et maintiennent des données sur les routes, les sentiers, les cafés, les gares, et bien plus encore, dans le monde entier. - + - + Fond de carte et données d’OpenStreetMap et de la Fondation OpenStreetMap (CC-BY-SA). © les contributeurs de https://www.openstreetmap.org. Open Data Commons Open Database License (ODbL) @@ -598,17 +471,17 @@ - + wms - + - + - + 1 1 @@ -621,91 +494,91 @@ - + + + - + + + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + + + - + + + + + + + + + + + + + @@ -714,23 +587,23 @@ + + - + - - + + None WholeRaster @@ -740,14 +613,14 @@ 2 - - - + + + resamplingFilter 0 - + 423695.47999999998137355 5398529.40600000042468309 @@ -787,8 +660,8 @@ - - + + @@ -804,16 +677,16 @@ false - + wms - + - + - + 1 1 @@ -826,91 +699,91 @@ - + + + - + + + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + + + - + + + + + + + + + + + + + @@ -919,28 +792,28 @@ + + + + + + + - + - - + + None WholeRaster @@ -950,14 +823,276 @@ 2 - - - + + + + resamplingFilter + + 0 + + + + 3.84850000000000003 + 43.57310000000000372 + 4.02449999999999974 + 43.62810000000000343 + + + 3.84850000000000003 + 43.57310000000000372 + 4.02450000000000152 + 43.62809999999999633 + + local_raster_layer_c4c2ec5e_7567_476b_bf78_2b7c64f32615 + ./media/raster.asc + raster_identify + + + + raster identify + + + GEOGCRS["WGS 84 (CRS84)",ENSEMBLE["World Geodetic System 1984 ensemble",MEMBER["World Geodetic System 1984 (Transit)"],MEMBER["World Geodetic System 1984 (G730)"],MEMBER["World Geodetic System 1984 (G873)"],MEMBER["World Geodetic System 1984 (G1150)"],MEMBER["World Geodetic System 1984 (G1674)"],MEMBER["World Geodetic System 1984 (G1762)"],MEMBER["World Geodetic System 1984 (G2139)"],ELLIPSOID["WGS 84",6378137,298.257223563,LENGTHUNIT["metre",1]],ENSEMBLEACCURACY[2.0]],PRIMEM["Greenwich",0,ANGLEUNIT["degree",0.0174532925199433]],CS[ellipsoidal,2],AXIS["geodetic longitude (Lon)",east,ORDER[1],ANGLEUNIT["degree",0.0174532925199433]],AXIS["geodetic latitude (Lat)",north,ORDER[2],ANGLEUNIT["degree",0.0174532925199433]],USAGE[SCOPE["Not known."],AREA["World."],BBOX[-90,-180,90,180]],ID["OGC","CRS84"]] + +proj=longlat +datum=WGS84 +no_defs + 63159 + 520003159 + OGC:CRS84 + WGS 84 (CRS84) + longlat + EPSG:7030 + true + + + + + + + + + + + + + + + + + + + + + + + + + GEOGCRS["WGS 84",ENSEMBLE["World Geodetic System 1984 ensemble",MEMBER["World Geodetic System 1984 (Transit)"],MEMBER["World Geodetic System 1984 (G730)"],MEMBER["World Geodetic System 1984 (G873)"],MEMBER["World Geodetic System 1984 (G1150)"],MEMBER["World Geodetic System 1984 (G1674)"],MEMBER["World Geodetic System 1984 (G1762)"],MEMBER["World Geodetic System 1984 (G2139)"],ELLIPSOID["WGS 84",6378137,298.257223563,LENGTHUNIT["metre",1]],ENSEMBLEACCURACY[2.0]],PRIMEM["Greenwich",0,ANGLEUNIT["degree",0.0174532925199433]],CS[ellipsoidal,2],AXIS["geodetic latitude (Lat)",north,ORDER[1],ANGLEUNIT["degree",0.0174532925199433]],AXIS["geodetic longitude (Lon)",east,ORDER[2],ANGLEUNIT["degree",0.0174532925199433]],USAGE[SCOPE["Horizontal component of 3D system."],AREA["World."],BBOX[-90,-180,90,180]],ID["EPSG",4326]] + +proj=longlat +datum=WGS84 +no_defs + 3452 + 4326 + EPSG:4326 + WGS 84 + longlat + EPSG:7030 + true + + + + + + + + + + + + + gdal + + + + + + + + + 1 + 1 + 0 + 0 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + MinMax + WholeRaster + Estimated + 0.02 + 0.98 + 2 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + resamplingFilter 0 - + 416354.49892917182296515 5394257.51030596997588873 @@ -1006,8 +1141,8 @@ - - + + @@ -1024,7 +1159,7 @@ - + @@ -1034,257 +1169,257 @@ ogr - - - - + + + + - + - - + + 1 1 1 0 - + - + + + - + + + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + + + - + + + + + + + + + + + + + - + + + - + + + + + + + + + + + + + + + + + + + + + - + - + + + - + + + + + + + + + + + + + - - + + - + + + 0 0 1 - - - - + + + + - + + + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -1292,97 +1427,97 @@ - + + + - - + + + + - - + + - + - - + - - + - - - - + + + - - - + + + - - - + + + - - - + + + - - - + + + - + - + - + - - - + + - + - + 0 - # -*- coding: utf-8 -*- """ QGIS forms can have a Python function that is called when the form is opened. @@ -1398,30 +1533,30 @@ from qgis.PyQt.QtWidgets import QWidget def my_form_open(dialog, layer, feature): geom = feature.geometry() control = dialog.findChild(QWidget, "MyLineEdit") -]]> + 0 generatedlayout - - - + + + - - - + + + - - - + + + - - + + "name" - + 3.84850000000000003 43.57310000000000372 @@ -1461,33 +1596,33 @@ def my_form_open(dialog, layer, feature): - - + + - + GEOGCRS["WGS 84",ENSEMBLE["World Geodetic System 1984 ensemble",MEMBER["World Geodetic System 1984 (Transit)"],MEMBER["World Geodetic System 1984 (G730)"],MEMBER["World Geodetic System 1984 (G873)"],MEMBER["World Geodetic System 1984 (G1150)"],MEMBER["World Geodetic System 1984 (G1674)"],MEMBER["World Geodetic System 1984 (G1762)"],MEMBER["World Geodetic System 1984 (G2139)"],ELLIPSOID["WGS 84",6378137,298.257223563,LENGTHUNIT["metre",1]],ENSEMBLEACCURACY[2.0]],PRIMEM["Greenwich",0,ANGLEUNIT["degree",0.0174532925199433]],CS[ellipsoidal,2],AXIS["geodetic latitude (Lat)",north,ORDER[1],ANGLEUNIT["degree",0.0174532925199433]],AXIS["geodetic longitude (Lon)",east,ORDER[2],ANGLEUNIT["degree",0.0174532925199433]],USAGE[SCOPE["Horizontal component of 3D system."],AREA["World."],BBOX[-90,-180,90,180]],ID["EPSG",4326]] +proj=longlat +datum=WGS84 +no_defs - 0 - 0 - - - - - false + 3452 + 4326 + EPSG:4326 + WGS 84 + longlat + EPSG:7030 + true - + gdal - + - + - + 1 1 @@ -1500,91 +1635,91 @@ def my_form_open(dialog, layer, feature): - + + + - + + + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + + + - + + + + + + + + + + + + + @@ -1593,23 +1728,23 @@ def my_form_open(dialog, layer, feature): + + - + - - + + MinMax WholeRaster @@ -1623,34 +1758,35 @@ def my_form_open(dialog, layer, feature): 125 StretchToMinimumMaximum - + + + + + + + - - - + + + resamplingFilter 0 - - - - - + + + + + + @@ -1719,18 +1855,18 @@ def my_form_open(dialog, layer, feature): lizmap_user_groups - cypress + features - + - + - - - + + + None @@ -1766,23 +1902,23 @@ def my_form_open(dialog, layer, feature): false - - + + - - + + false - - + + false 5000 - - + + false @@ -1802,13 +1938,13 @@ def my_form_open(dialog, layer, feature): + + - - + + @@ -1825,21 +1961,21 @@ def my_form_open(dialog, layer, feature): - + - + nboisteault 2023-07-18T16:42:30 - - - - - + + + + + - - + + PROJCRS["WGS 84 / Pseudo-Mercator",BASEGEOGCRS["WGS 84",ENSEMBLE["World Geodetic System 1984 ensemble",MEMBER["World Geodetic System 1984 (Transit)"],MEMBER["World Geodetic System 1984 (G730)"],MEMBER["World Geodetic System 1984 (G873)"],MEMBER["World Geodetic System 1984 (G1150)"],MEMBER["World Geodetic System 1984 (G1674)"],MEMBER["World Geodetic System 1984 (G1762)"],MEMBER["World Geodetic System 1984 (G2139)"],ELLIPSOID["WGS 84",6378137,298.257223563,LENGTHUNIT["metre",1]],ENSEMBLEACCURACY[2.0]],PRIMEM["Greenwich",0,ANGLEUNIT["degree",0.0174532925199433]],ID["EPSG",4326]],CONVERSION["Popular Visualisation Pseudo-Mercator",METHOD["Popular Visualisation Pseudo Mercator",ID["EPSG",1024]],PARAMETER["Latitude of natural origin",0,ANGLEUNIT["degree",0.0174532925199433],ID["EPSG",8801]],PARAMETER["Longitude of natural origin",0,ANGLEUNIT["degree",0.0174532925199433],ID["EPSG",8802]],PARAMETER["False easting",0,LENGTHUNIT["metre",1],ID["EPSG",8806]],PARAMETER["False northing",0,LENGTHUNIT["metre",1],ID["EPSG",8807]]],CS[Cartesian,2],AXIS["easting (X)",east,ORDER[1],LENGTHUNIT["metre",1]],AXIS["northing (Y)",north,ORDER[2],LENGTHUNIT["metre",1]],USAGE[SCOPE["Web mapping and visualisation."],AREA["World between 85.06°S and 85.06°N."],BBOX[-85.06,-180,85.06,180]],ID["EPSG",3857]] +proj=merc +a=6378137 +b=6378137 +lat_ts=0 +lon_0=0 +x_0=0 +y_0=0 +k=1 +units=m +nadgrids=@null +wktext +no_defs @@ -1853,41 +1989,41 @@ def my_form_open(dialog, layer, feature): - - + + - + - + + + + + + + + + + + + + + + + + + @@ -1904,7 +2040,7 @@ def my_form_open(dialog, layer, feature): - - + + diff --git a/tests/qgis-projects/tests/rasters.qgs.cfg b/tests/qgis-projects/tests/rasters.qgs.cfg index b03279afa7..4c5bdb5ef2 100644 --- a/tests/qgis-projects/tests/rasters.qgs.cfg +++ b/tests/qgis-projects/tests/rasters.qgs.cfg @@ -1,18 +1,16 @@ { "metadata": { - "qgis_desktop_version": 33406, - "lizmap_plugin_version_str": "4.3.3", - "lizmap_plugin_version": 40303, - "lizmap_web_client_target_version": 30700, + "qgis_desktop_version": 33412, + "lizmap_plugin_version_str": "4.4.6-alpha", + "lizmap_plugin_version": 40406, + "lizmap_web_client_target_version": 30800, "lizmap_web_client_target_status": "Stable", - "instance_target_url": "https://demo.lizmap.com/lizmap/", - "instance_target_repository": "cypress" - }, - "warnings": { - "old_qgis_server_version": 1 + "instance_target_url": "https://demo.snap.lizmap.com/lizmap_3_8/", + "instance_target_repository": "features" }, + "warnings": {}, "debug": { - "total_time": 2.8849999999999993 + "total_time": 0.883 }, "options": { "projection": { @@ -47,6 +45,7 @@ "pointTolerance": 25, "lineTolerance": 10, "polygonTolerance": 5, + "automatic_permalink": false, "tmTimeFrameSize": 10, "tmTimeFrameType": "seconds", "tmAnimationFrameLength": 1000, @@ -56,6 +55,39 @@ "dataviz_drag_drop": [] }, "layers": { + "raster identify": { + "id": "local_raster_layer_c4c2ec5e_7567_476b_bf78_2b7c64f32615", + "name": "raster identify", + "type": "layer", + "extent": [ + 3.8485, + 43.573100000000004, + 4.0245, + 43.6281 + ], + "crs": "OGC:CRS84", + "title": "raster identify", + "abstract": "", + "link": "", + "minScale": 1, + "maxScale": 1000000000000, + "toggled": "True", + "popup": "True", + "popupSource": "auto", + "popupTemplate": "", + "popupMaxFeatures": 10, + "popupDisplayChildren": "False", + "popup_allow_download": true, + "legend_image_option": "hide_at_startup", + "groupAsLayer": "False", + "baseLayer": "False", + "displayInLegend": "True", + "group_visibility": [], + "singleTile": "True", + "imageFormat": "image/png", + "cached": "False", + "clientCacheExpiration": 300 + }, "local vector layer": { "id": "polygons_6c53e302_45e9_42a3_b2e7_60171f517d02", "name": "local vector layer",