<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">I would use minScale/maxScale settings on the layers such that only one of them is visible at a time.<div><br></div><div>Best regards,</div><div>Bart</div><div><br></div><div><div>
<span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><div>-- <br>Bart van den Eijnden<br>OpenGeo - <a 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 Aug 7, 2012, at 12:30 PM, Simon Johnson <<a href="mailto:SJohnson@redcross.org.uk">SJohnson@redcross.org.uk</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta content="MSHTML 6.00.5730.13" name="GENERATOR">
<div style="MARGIN: 4px 4px 1px; FONT: 10pt Tahoma">
<div>Hello list,</div>
<div> </div>
<div>I have a map which has both wms layers and wfs layers.  The pop up for individual layers is working fine and as expected.  However, I am having trouble working out a good approach to pop up behaviour when both wms and wfs layers are showing.  Currently due to separate events firing I get two pop ups.  One with the WMS getfeatureinfo results and one with the pop up attached to the feature.  Ideally I would want the results merged in one pop-up, but would settle for be able to choose which pop up gets priority based on layer ordering.</div>
<div> </div>
<div>Can anyone suggest a solution to the problem or provide an example that deals with a similar situation?</div>
<div> </div>
<div>Thanks</div>
<div> </div>
<div>Simon</div><br><br><p align="left"><font style="BACKGROUND-COLOR: #ffffff"><span style="FONT-SIZE: 11pt; FONT-FAMILY: Arial; mso-bidi-font-size: 12.0pt; mso-fareast-font-family: 'Times New Roman'; mso-ansi-language: EN-GB; mso-fareast-language: EN-US; mso-bidi-language: AR-SA"><a href="http://www.redcross.org.uk/appealweek"><font color="#0000ff"></font></a></span></font></p><font style="BACKGROUND-COLOR: #ffffff">
</font><div><font style="BACKGROUND-COLOR: #ffffff"><span style="FONT-SIZE: 11pt; FONT-FAMILY: Arial; mso-bidi-font-size: 8.0pt"></span><font face="MS Sans Serif" size="1">
</font></font><div><font style="BACKGROUND-COLOR: #ffffff"><font face="MS Sans Serif" size="1"></font><font size="2"><font size="1"><span style="font-size: 9.5pt; font-family: Arial; ">
</span></font></font><div><font size="2"><font size="1"><font size="1"><span lang="EN-GB">
</span></font></font></font><div><font size="2"><font size="1"><font size="1"></font></font></font> <br class="webkit-block-placeholder"></div><div> <br class="webkit-block-placeholder"></div></div><p><font size="2"><font face="Tahoma"><span style="font-size: 10pt; font-family: 'Microsoft Sans Serif'; ">This email is for the intended recipient only. It may contain information that is privileged, confidential and/or subject to copyright. If you are not the intended</span></font></font></p><font size="2">
<div>
<div><font face="Tahoma"><span style="font-size: 10pt; font-family: 'Microsoft Sans Serif'; "> recipient, please delete this email and any attachments and notify </span></font><font face="Tahoma"><span style="font-size: 10pt; font-family: 'Microsoft Sans Serif'; "> </span><u><span style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: 'Microsoft Sans Serif'; mso-fareast-font-family: 'Times New Roman'; mso-ansi-language: EN-GB; mso-fareast-language: EN-US; mso-bidi-language: AR-SA"><a href="mailto:mailadmin@redcross.org.uk"><font color="#0000ff">mailadmin@redcross.org.uk</font></a></span></u></font><span style="font-size: 10pt; font-family: 'Microsoft Sans Serif'; "><font face="Tahoma">. You may not present this message or any part of it to</font></span></div>
<div><span style="font-size: 10pt; font-family: 'Microsoft Sans Serif'; "><font face="Tahoma">another party without consent from the sender. </font></span></div>
<div><span style="font-size: 10pt; font-family: 'Microsoft Sans Serif'; "><font face="Tahoma"><br>Although the British Red Cross has taken steps to ensure this email and any attachments are virus-free, we do not accept any responsibility for viruses, or for </font></span></div>
<div><span style="font-size: 10pt; font-family: 'Microsoft Sans Serif'; "><font face="Tahoma">inaccurate or incomplete information or failure to deliver information. It is your responsibility to scan the email and any attachments to ensure they are virus-free.  </font></span></div>
<div><span style="font-size: 10pt; font-family: 'Microsoft Sans Serif'; "><font face="Tahoma"></font></span> </div>
<div><span style="font-size: 10pt; font-family: 'Microsoft Sans Serif'; "><font face="Tahoma">The British Red Cross may monitor the content of emails sent or received by its employees.</font></span></div><span style="font-size: 10pt; font-family: 'Microsoft Sans Serif'; "><font face="Tahoma">
<div><br>The British Red Cross Society, incorporated by Royal Charter 1908, is a charity registered in England and Wales (220949) and Scotland (SC037738). <br></div>
<div> </div>
</font><div><font face="Tahoma">The red cross emblem is a protective symbol, the use of which is restricted by international and national law. It may not be reproduced without prior authorisation. </font></div>
<div><span style="font-size: 10pt; font-family: 'Microsoft Sans Serif'; "><a href="http://www.redcross.org.uk/standard.asp?id=35289"><font face="Tahoma" color="#0000ff">Click here for more information</font></a><font face="Tahoma">.</font></span></div>
<div><span style="font-size: 10pt; font-family: 'Microsoft Sans Serif'; "></span> </div></span></div>
</font></font><p><font style="BACKGROUND-COLOR: #ffffff"><font size="2"></font></font><font style="BACKGROUND-COLOR: #ffffff"><font size="2"><span class="Normal--Char" style="FONT-SIZE: 10pt; FONT-FAMILY: 'Arial', 'Arial'"> <br></span></font></font></p></div></div><font style="BACKGROUND-COLOR: #ffffff">
</font><p align="left"><font style="BACKGROUND-COLOR: #ffffff"><font size="2"><br><br><br><br>This message has been scanned for viruses by </font></font><a href="http://www.blackspider.com/"><font style="BACKGROUND-COLOR: #ffffff" size="2">BlackSpider MailControl</font></a></p>
</div>
_______________________________________________<br>Users mailing list<br><a href="mailto:Users@lists.osgeo.org">Users@lists.osgeo.org</a><br>http://lists.osgeo.org/mailman/listinfo/openlayers-users<br></blockquote></div><br></div></body></html>