<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#ffffff" text="#000000">
    Sorry I missed adding the ticket URL [1] <a
      href="http://trac.geoext.org/ticket/451">http://trac.geoext.org/ticket/451</a><br>
    <br>
    Cheers,<br>
    Chris<br>
    <div class="moz-signature">
      <meta http-equiv="Content-Type" content="text/html;
        charset=ISO-8859-1">
      <style type="text/css">
        #signature {
            color: #333 !important;
            font-family: monospace;
                        font-size: 12px;
            padding: 10px;
            line-height: 1.5em;
        }
        #highlight-container {
            padding: 5px;
            width: 450px;
            margin: 30px 0;
            border-width: 0px 0 0px 0;
            border-right-width: 0;
            border-left-width: 0;
            border-style: dotted;
            border-color: #333;
        }
        #signature a,
        #signature a:link,
        #signature a:visited,
        #signature a:hover,
        #signature a:active {
            color: darkblue !important;
        }
        #signature address {
            font-style: normal;
        }
        #col-container {
            width: 550px;
        }
        #col-1 {
            width: 180px; float: left;
        }
        #col-2 {
            width: 320px; float: left;
        }
        #col-clear {
            clear: both; padding-top: 30px;
        }
        #signature img {
            margin-top:10px;
        }
        #col-container p,
        #col-container address {
            margin: 4px 0 0 0;
        }
        #signature .no-margin {
            margin: 0;
        }
        #highlight {
            font-weight: bold;
        }
        </style>
      <div id="signature">
        <div id="col-container"><br>
        </div>
      </div>
    </div>
    <br>
    Am 19.10.2011 13:15, schrieb Christian Mayer:
    <blockquote cite="mid:4E9EB156.20106@terrestris.de" type="cite">
      <meta content="text/html; charset=ISO-8859-1"
        http-equiv="Content-Type">
      <title></title>
      Hello Hugo, hello Geoffrey, hello all,<br>
      <br>
      Thanks for reporting this issue.<br>
      I could reproduce the error and therefore I opened up a ticket
      [1].<br>
      Further discussion should be done there.<br>
      <br>
      Best rergards,<br>
      Chris<br>
      <div class="moz-signature">
        <meta http-equiv="Content-Type" content="text/html;
          charset=ISO-8859-1">
        <style type="text/css">
        #signature {
            color: #333 !important;
            font-family: monospace;
                        font-size: 12px;
            padding: 10px;
            line-height: 1.5em;
        }
        #highlight-container {
            padding: 5px;
            width: 450px;
            margin: 30px 0;
            border-width: 0px 0 0px 0;
            border-right-width: 0;
            border-left-width: 0;
            border-style: dotted;
            border-color: #333;
        }
        #signature a,
        #signature a:link,
        #signature a:visited,
        #signature a:hover,
        #signature a:active {
            color: darkblue !important;
        }
        #signature address {
            font-style: normal;
        }
        #col-container {
            width: 550px;
        }
        #col-1 {
            width: 180px; float: left;
        }
        #col-2 {
            width: 320px; float: left;
        }
        #col-clear {
            clear: both; padding-top: 30px;
        }
        #signature img {
            margin-top:10px;
        }
        #col-container p,
        #col-container address {
            margin: 4px 0 0 0;
        }
        #signature .no-margin {
            margin: 0;
        }
        #highlight {
            font-weight: bold;
        }
        </style>
        <div id="signature">
          <div id="col-container"><br>
          </div>
        </div>
      </div>
      <br>
      Am 13.10.2011 16:21, schrieb Hugo:
      <blockquote
cite="mid:CAFtnPwouAtccbHyuA73fGdaVGgUxoJ_NczHPQHUeC_0aunuJeg@mail.gmail.com"
        type="cite">Hi,
        <div><br>
        </div>
        <div>Well i tried it on a window and still the same error
          occurs. So it is&nbsp;definitely a LegendPanel bug. If i don't use
          a LegendPanel at all, there are no problems.</div>
        <div><br>
        </div>
        <div>You are right when saying that it doesn't affect map
          navigation. However, because i'm using 2 different projections
          in the app (spherical mercator and etrs) when reprojection
          happens, and only after removing a vector layer, the map gets
          confused and gets out there in the world but not where it
          should be. If i don't remove any vector layer reprojection
          works &nbsp;just fine.</div>
        <div><br>
        </div>
        <div>So, in my case, this bug is crashing some fucntionalities.</div>
        <div><br>
        </div>
        <div>I'm thinking in a workaround by just defining a specific
          url for the legend of vector layers and have an image on the
          server. Maybe that works but is not a pretty solution
          specially if you want to give the users the possibility to
          change the style of such layers.</div>
        <div><br>
        </div>
        <div>Does someone have more&nbsp;thoughts on this?</div>
        <div><br>
        </div>
        <div>Regards,</div>
        <div>Hugo&nbsp;<br>
          <br>
          <div class="gmail_quote">On Thu, Oct 13, 2011 at 2:52 PM,
            gbrun <span dir="ltr">&lt;<a moz-do-not-send="true"
                href="mailto:gbrun@myopera.com">gbrun@myopera.com</a>&gt;</span>
            wrote:<br>
            <blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt
              0.8ex; border-left: 1px solid rgb(204, 204, 204);
              padding-left: 1ex;">I think I also had this problem with
              zooming into the map, beside the collapse/expand issue.
              But in my memories, this problem didn't affect the
              navigation in the map, did it? I only received error
              messages in firebug.<br>
              <br>
              I didn't find a solution to fix this bug: so I isolated
              the LegendPanel component from the others panels by giving
              it its own window. Maybe you can try this clue: it could
              help you to define if it's a LegendPanel bug.<br>
              <br>
              Geoffrey<br>
              <br>
              <br>
              Le Thu, 13 Oct 2011 15:30:34 +0200, Hugo &lt;<a
                moz-do-not-send="true"
                href="mailto:hfpmartins@gmail.com" target="_blank">hfpmartins@gmail.com</a>&gt;
              a &eacute;crit:
              <div>
                <div class="h5"><br>
                  <br>
                  <blockquote class="gmail_quote" style="margin: 0pt 0pt
                    0pt 0.8ex; border-left: 1px solid rgb(204, 204,
                    204); padding-left: 1ex;"> Hi Geoffrey,<br>
                    <br>
                    Indeed i have a viewport with a left panel and a map
                    panel (in center<br>
                    region). My left panel is a tabpanel which has a
                    treepanel and legend panel.<br>
                    The thing is even if i don't collapse the left panel
                    i get this error just<br>
                    by doing a zoom in the map. Even when changing the
                    layout i get the same<br>
                    error. At the moment i have no idea where to start
                    to debug this...<br>
                    How did you solved it? Any more suggestions?<br>
                    <br>
                    Thanks in advance,<br>
                    Hugo<br>
                    <br>
                    On Thu, Oct 13, 2011 at 12:07 PM, gbrun &lt;<a
                      moz-do-not-send="true"
                      href="mailto:gbrun@myopera.com" target="_blank">gbrun@myopera.com</a>&gt;

                    wrote:<br>
                    <br>
                    <blockquote class="gmail_quote" style="margin: 0pt
                      0pt 0pt 0.8ex; border-left: 1px solid rgb(204,
                      204, 204); padding-left: 1ex;"> Hi Hugo,<br>
                      <br>
                      My question would probably be surprising for you!
                      Do your LegendPanel use a<br>
                      "border" layout shared with an other panel (a
                      MapPanel precisely? I got a<br>
                      similar bug: this one appeared when I
                      collapsed/expanded the LegendPanel<br>
                      after removing a layer.<br>
                      <br>
                      I'm not sure your problem is related to this one,
                      but perhaps?<br>
                      <br>
                      Geoffrey<br>
                      <br>
                      <br>
                      <br>
                      Le Thu, 13 Oct 2011 12:44:27 +0200, Hugo &lt;<a
                        moz-do-not-send="true"
                        href="mailto:hfpmartins@gmail.com"
                        target="_blank">hfpmartins@gmail.com</a>&gt; a
                      &eacute;crit:<br>
                      <br>
                      <br>
                      &nbsp;Hello all,<br>
                      <blockquote class="gmail_quote" style="margin: 0pt
                        0pt 0pt 0.8ex; border-left: 1px solid rgb(204,
                        204, 204); padding-left: 1ex;"> <br>
                        I'm facing a small but annoying problem with
                        vector legends. I'm using<br>
                        JSTS<br>
                        (which i think it is an awesome contribution for
                        geoprocessing operations<br>
                        on<br>
                        the client side) to compute buffers. So the user
                        defines the parameters to<br>
                        compute a buffer and a new vector layer is added
                        with the result. Untill<br>
                        now<br>
                        everything is fine, and GeoExt.LegendPanel shows
                        the legend for this<br>
                        layer.<br>
                        In the app, the user has also the possibility to
                        select several layers and<br>
                        completely remove them from the map. It is
                        exactly here that the problem<br>
                        arises. After removing a vector layer from the
                        map i start to get an error<br>
                        related with vectorlegend.js. From that point
                        onwards, everytime i make a<br>
                        zoom in the map i get the following error:<br>
                        <br>
                        this.layer is null (on line 256 of
                        vectorlegend.js:<br>
                        this.layer.map.getScale())<br>
                        <br>
                        This only happens after removing vector layers
                        from the map. So i thought<br>
                        i<br>
                        had to manually remove the layer from the
                        legendpanel but, as expected,<br>
                        the<br>
                        layerstore &nbsp;of the legendpanel is synchronized
                        with the mapPanel<br>
                        layerstore<br>
                        and, therefore, the layer is no longer present
                        at both stores.<br>
                        <br>
                        So, what might be the issue happening here?<br>
                        <br>
                        Regards,<br>
                        Hugo<br>
                        <br>
                        <br>
                        <br>
                      </blockquote>
                      <br>
                      --<br>
                      --<br>
                      Geoffrey BRUN<br>
                      <br>
                      &Eacute;tudiant en master SIGMA<br>
                      Stagiaire au PNR du Haut-Languedoc<br>
                      <br>
                      Hameau de Brassac<br>
                      Saint-Pons de Thomi&egrave;res<br>
                      <a moz-do-not-send="true"
                        href="tel:%2B33%20%280%29%206%2077%2074%2044%2016"
                        value="+33677744416" target="_blank">+33 (0) 6
                        77 74 44 16</a><br>
                      <br>
                    </blockquote>
                    <br>
                    <br>
                    <br>
                  </blockquote>
                  <br>
                  <br>
                  -- <br>
                  -- <br>
                  Geoffrey BRUN<br>
                  <br>
                  &Eacute;tudiant en master SIGMA<br>
                  Stagiaire au PNR du Haut-Languedoc<br>
                  <br>
                  Hameau de Brassac<br>
                  Saint-Pons de Thomi&egrave;res<br>
                  <a moz-do-not-send="true"
                    href="tel:%2B33%20%280%29%206%2077%2074%2044%2016"
                    value="+33677744416" target="_blank">+33 (0) 6 77 74
                    44 16</a><br>
                </div>
              </div>
            </blockquote>
          </div>
          <br>
          <br clear="all">
          <div><br>
          </div>
          -- <br>
          Hugo Martins<br>
          LabNT - ISEGI UNL<br>
          Campus de Campolide<br>
          1070-312 Lisboa<br>
          N 38&deg;43'56.84", W 9&deg;9'35.74"<br>
        </div>
        <pre wrap=""><fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
Users mailing list
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:Users@geoext.org">Users@geoext.org</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://www.geoext.org/cgi-bin/mailman/listinfo/users">http://www.geoext.org/cgi-bin/mailman/listinfo/users</a>
</pre>
      </blockquote>
      <pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@geoext.org">Users@geoext.org</a>
<a class="moz-txt-link-freetext" href="http://www.geoext.org/cgi-bin/mailman/listinfo/users">http://www.geoext.org/cgi-bin/mailman/listinfo/users</a>
</pre>
    </blockquote>
  </body>
</html>