lizmap-web-client icon indicating copy to clipboard operation
lizmap-web-client copied to clipboard

[Bug]: locating: highlight color is below the layer symbology not over

Open gioman opened this issue 1 year ago • 1 comments

What is the bug? (in English)

Just configured a layer for the "locating" functionality, by also checking the "display geometry" option

image

that highlights the geometry selected from the list.

Unfortunately on LMWC it seems that the highlight color/rubberband is placed below the geometry symbology and not over.

layer active with feature selected from the dropdown list

image

Disabling the layer shows the rubberband

image

Steps to reproduce the issue

See above.

Versions, safeguards, check summary etc

Versions :

  • Lizmap Web Client : 3.8.2
  • Lizmap plugin : 4.4.2
  • QGIS Desktop : 3.34.9
  • QGIS Server : 3.34.11
  • Py-QGIS-Server : not used
  • QGIS Server plugin atlasprint : 3.4.1
  • QGIS Server plugin lizmap_server : 2.11.0
  • QGIS Server plugin wfsOutputExtension : 1.8.0
List of Lizmap Web Client modules :
* Version Lizmap Web Client 3.8 needed
List of safeguards :
* Mode : normal * Allow parent folder : no * Prevent other drive : yes * Prevent PG service : no * Prevent PG Auth DB : yes * Force PG user&pass : yes * Prevent ECW : yes

Check Lizmap plugin

  • [X] I have done the step just before in the Lizmap QGIS desktop plugin before opening this ticket. Otherwise, my ticket is not considered valid and might get closed.

Operating system

Ubuntu 22.04

Browsers

Firefox, Chrome

Browsers version

Latest updates

Relevant log output

No response

gioman avatar Oct 20 '24 15:10 gioman

the same for the popup tool and data tool when highlights the geometry point by click or select features if the symbol is smaller than the yellow selection circle the user can' t see that the geometry is selected imagem
imagem

as an additional comment: when the user closes the popup the geometry remains highlighted

josemvm avatar Oct 23 '24 10:10 josemvm

I can't reproduce the issue. Can someone give me a project reproducing the issue.

nboisteault avatar Nov 13 '24 09:11 nboisteault

Can you on latest 3.8.3 or pre package ?

Gustry avatar Nov 13 '24 12:11 Gustry

The issue for the popup feature geometry is visible on https://sandbox.lizmap.com/lizmap_3_8/index.php/view/map?repository=modules&project=pgmetadata#3.869859,43.614587,3.872038,43.615428%7Ctrees,water_surfaces,buildings%7Cdefault,default,default%7C1,1,1

Click on a building, the highlight geometry is under the building (you can uncheck the building layer to see it)

Gustry avatar Nov 13 '24 12:11 Gustry

We should probably use the method lizMap.mainLizmap.map.addToolLayer as proposed by @rldhont

mdouchin avatar Nov 13 '24 13:11 mdouchin

i'm on lwc 3.8.3. if you use a layer (e.g. raster layer with opacity 100%) you can´t see the yellow marker when using the locate by layer tool or search address tool

josemvm avatar Nov 13 '24 13:11 josemvm

Click on a building, the highlight geometry is under the building (you can uncheck the building layer to see it) @Gustry yes, is true. and when you close the the popup, the yellow marker still remains.

josemvm avatar Nov 13 '24 13:11 josemvm

Confirmed, it's fixed https://sandbox.lizmap.com/lizmap_3_8/index.php/view/map?repository=modules&project=pgmetadata

Gustry avatar Nov 13 '24 14:11 Gustry

thanks

josemvm avatar Nov 13 '24 15:11 josemvm