<!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 text="#000000" bgcolor="#ffffff">
    Works like a charm. Thanks Bart<br>
    <br>
    On 1/9/2013 2:18 PM, Bart van den Eijnden wrote:
    <blockquote
      cite="mid:0036D13F-D0ED-4A4B-AB9B-BEEDB48C03E7@opengeo.org"
      type="cite">
      <meta http-equiv="Content-Type" content="text/html;
        charset=ISO-8859-1">
      Hi Jan,
      <div><br>
      </div>
      <div>sure, just add displayClass to your Control definitions and
        make sure they differ:</div>
      <div><br>
      </div>
      <div>
        <div>    /** </div>
        <div>     * Property: displayClass </div>
        <div>     * {string}  This property is used for CSS related to
          the drawing of the</div>
        <div>     * Control. </div>
        <div>     */</div>
        <div>    displayClass: "",</div>
        <div><br>
        </div>
        <div>Best regards,</div>
        <div>Bart</div>
        <div><br>
        </div>
        <div>
          <span class="Apple-style-span" style="border-collapse:
            separate; border-spacing: 0px;">
            <div>-- <br>
              Bart van den Eijnden<br>
              OpenGeo - <a moz-do-not-send="true"
                href="http://opengeo.org/">http://opengeo.org</a><br>
              Expert service straight from the developers.</div>
            <div><br>
            </div>
          </span><br class="Apple-interchange-newline">
        </div>
        <br>
        <div>
          <div>On Jan 9, 2013, at 2:12 PM, Jan Hartmann <<a
              moz-do-not-send="true" href="mailto:j.l.h.hartmann@uva.nl">j.l.h.hartmann@uva.nl</a>>
            wrote:</div>
          <br class="Apple-interchange-newline">
          <blockquote type="cite">
            <div text="#000000" bgcolor="#ffffff"> Hi Bart,<br>
              <br>
              I tried it, and I guess it works, but the two controls are
              displayed one over the other, and I see only the one last
              defined. There is a way to position the Mouseposition
              control by css:<br>
              <br>
              <style><br>
              .olControlMousePosition {<br>
                  right 10;use<br>
                  top:0;<br>
                  etc<br>
              }<br>
              <br>
              but that changes all MousePosition controls the same way.
              Is there a way to give an id to a control, so I could use:<br>
              <br>
              #olMousePosition1 {<br>
                  ...<br>
              }<br>
              #olMousePosition2 {<br>
                  ...<br>
              }<br>
              <br>
              Jan<br>
              <br>
              On 1/9/2013 1:43 PM, Bart van den Eijnden wrote:
              <blockquote
                cite="mid:B1A486F8-5937-46D7-B560-F3E0A2F07D47@opengeo.org"
                type="cite"> Hi Jan,
                <div><br>
                </div>
                <div>did you try using two MousePosition controls?</div>
                <div><br>
                </div>
                <div>Best regards,</div>
                <div>Bart</div>
                <div><br>
                  <div>
                    <div> <span class="Apple-style-span"
                        style="border-collapse: separate; font-family:
                        Helvetica; font-style: normal; font-variant:
                        normal; font-weight: normal; letter-spacing:
                        normal; line-height: normal; orphans: 2;
                        text-indent: 0px; text-transform: none;
                        white-space: normal; widows: 2; word-spacing:
                        0px; font-size: medium;">
                        <div>-- <br>
                          Bart van den Eijnden<br>
                          OpenGeo - <a moz-do-not-send="true"
                            href="http://opengeo.org/">http://opengeo.org</a><br>
                          Expert service straight from the developers.</div>
                        <div><br>
                        </div>
                      </span><br class="Apple-interchange-newline">
                    </div>
                    <br>
                    <div>
                      <div>On Jan 9, 2013, at 1:40 PM, Jan Hartmann <<a
                          moz-do-not-send="true"
                          href="mailto:j.l.h.hartmann@uva.nl">j.l.h.hartmann@uva.nl</a>>

                        wrote:</div>
                      <br class="Apple-interchange-newline">
                      <blockquote type="cite">
                        <title></title>
                        <div text="#000000" bgcolor="#ffffff"> <font
                            face="Times New Roman, Times, serif">Is it
                            possible to have tow displayprojections on a
                            map? I would like to show the actual mouse
                            position both in WGS84 latlon (epsg:4326)
                            and in the projection of the map I am
                            working on. Changing the projection in the
                            Javascript file and starting the application
                            anew does the trick, but I would like to see
                            both coordinate pairs at the same time. Is
                            there a trick to do this?<br>
                            <br>
                            Jan </font><br>
                        </div>
                        _______________________________________________<br>
                        Users mailing list<br>
                        <a moz-do-not-send="true"
                          href="mailto:Users@lists.osgeo.org">Users@lists.osgeo.org</a><br>
                        <a moz-do-not-send="true"
                          class="moz-txt-link-freetext"
                          href="http://lists.osgeo.org/mailman/listinfo/openlayers-users">http://lists.osgeo.org/mailman/listinfo/openlayers-users</a><br>
                      </blockquote>
                    </div>
                    <br>
                  </div>
                </div>
              </blockquote>
            </div>
          </blockquote>
        </div>
        <br>
      </div>
    </blockquote>
  </body>
</html>