<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Change the order that popups are shown? in Web AppBuilder Custom Widgets Questions</title>
    <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/change-the-order-that-popups-are-shown/m-p/823135#M7613</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm using WAB 1.3 Developer Edition. I have a layer containing point features that is drawn on top of a layer containing line features, the two layers are currently in separate services. When a point that overlaps a line is clicked, the popup for the line is shown first and the user has to click next to see the popup for the point feature.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it possible to control the popup display order using the JS API, so the popup for the points layer would always be shown first if there are multiple popups?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 14 Apr 2016 15:30:28 GMT</pubDate>
    <dc:creator>MaxMcCosham</dc:creator>
    <dc:date>2016-04-14T15:30:28Z</dc:date>
    <item>
      <title>Change the order that popups are shown?</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/change-the-order-that-popups-are-shown/m-p/823135#M7613</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm using WAB 1.3 Developer Edition. I have a layer containing point features that is drawn on top of a layer containing line features, the two layers are currently in separate services. When a point that overlaps a line is clicked, the popup for the line is shown first and the user has to click next to see the popup for the point feature.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it possible to control the popup display order using the JS API, so the popup for the points layer would always be shown first if there are multiple popups?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Apr 2016 15:30:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/change-the-order-that-popups-are-shown/m-p/823135#M7613</guid>
      <dc:creator>MaxMcCosham</dc:creator>
      <dc:date>2016-04-14T15:30:28Z</dc:date>
    </item>
    <item>
      <title>Re: Change the order that popups are shown?</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/change-the-order-that-popups-are-shown/m-p/823136#M7614</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Max,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is an interesting question and I am curious to hear what answers you get. In just 'regular' ArcGIS Online, you cannot change the popup order.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In this thread:&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.esri.com/message/593491#comment-426997" title="https://community.esri.com/message/593491#comment-426997"&gt;https://community.esri.com/message/593491#comment-426997&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Mike says:&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;No, there is no way to control popup ordering. The order comes from how fast layers can return their popup information. The fastest wins. The popup populates with the first and the rest come in when they return their information We have discussed allowing user defined ordering, but then the popup would have to wait to display its contents until all layers have returned their values. This could make the popup slower.&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Apr 2016 15:40:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/change-the-order-that-popups-are-shown/m-p/823136#M7614</guid>
      <dc:creator>AdrianWelsh</dc:creator>
      <dc:date>2016-04-14T15:40:03Z</dc:date>
    </item>
  </channel>
</rss>

