<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p>Hi</p>
    <p>A possible solution could be made using lizmap event <a
        class="moz-txt-link-freetext"
href="https://docs.lizmap.com/current/en/publish/customization/javascript.html">https://docs.lizmap.com/current/en/publish/customization/javascript.html</a></p>
    <p>with lizmappopupdisplayed you can run code when a popup is
      displayed</p>
    <p>with the input hidden element with class
      'lizmap-popup-layer-feature-id' you can know which layer/feature
      is opened<br>
    </p>
    <p><br>
    </p>
    <div class="moz-cite-prefix">Le 01/09/2022 à 21:11, G. Wagner,
      Wagner-IT a écrit :<br>
    </div>
    <blockquote type="cite"
      cite="mid:00ac01d8be36$b4bd5cd0$1e381670$@wagner-it.de">
      <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
      <meta name="Generator" content="Microsoft Word 15 (filtered
        medium)">
      <style>@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}span.E-MailFormatvorlage19
        {mso-style-type:personal-reply;
        font-family:"Calibri",sans-serif;
        color:windowtext;}.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}div.WordSection1
        {page:WordSection1;}</style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
      <div class="WordSection1">
        <p>Hi everyone,<o:p></o:p></p>
        <p><span style="mso-fareast-language:EN-US">Is it possible to
            show and hide individual layers via the popup?<o:p></o:p></span></p>
        <p><span style="mso-fareast-language:EN-US">When clicking on a
            surface and the popup window opens, a layer (defined in the
            attribute data) should be activated (displayed) via an
            attribute field.<o:p></o:p></span></p>
        <p><span style="mso-fareast-language:EN-US">For example, a
            raster map could be displayed for a scope.<o:p></o:p></span></p>
        <p><span style="mso-fareast-language:EN-US">Is it possible to
            integrate Javascript into the HTML code of the popup window?<o:p></o:p></span></p>
        <p>Thanks<o:p></o:p></p>
        <p>Günter<o:p></o:p></p>
      </div>
      <br>
      <fieldset class="moz-mime-attachment-header"></fieldset>
      <pre class="moz-quote-pre" wrap="">_______________________________________________
Lizmap mailing list
<a class="moz-txt-link-abbreviated moz-txt-link-freetext" href="mailto:Lizmap@lists.osgeo.org">Lizmap@lists.osgeo.org</a>
<a class="moz-txt-link-freetext" href="https://lists.osgeo.org/mailman/listinfo/lizmap">https://lists.osgeo.org/mailman/listinfo/lizmap</a>
</pre>
    </blockquote>
    <div class="moz-signature">-- <br>
      <span style="color: #9ACD32;"> Raphaël Martin</span> <br>
      Développeur <br>
      <a href="https://www.3liz.com" style="text-decoration: none;
        color: #9ACD32;">www.3liz.com</a> <br>
    </div>
  </body>
</html>