<?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 Re: Locator not solving in right order in Web AppBuilder Custom Widgets Questions</title>
    <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/locator-not-solving-in-right-order/m-p/853778#M11146</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Cheers Robert, I have tried something similar, but I will try your approach.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And well done on winning the competition! With all the help you've given me recently I think you very much deserve it!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 09 Jul 2015 21:19:32 GMT</pubDate>
    <dc:creator>HamishKingsbury1</dc:creator>
    <dc:date>2015-07-09T21:19:32Z</dc:date>
    <item>
      <title>Locator not solving in right order</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/locator-not-solving-in-right-order/m-p/853774#M11142</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey there&lt;/P&gt;&lt;P&gt;I've a list of addresses that I want to solve, ive tried two things:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;using locator.addressToLocations - I iterate through the list of addresses. This will solve the results, but sometimes they will not be in the same order as they were in the list - this is an issue.&lt;/LI&gt;&lt;LI&gt;using locator.addressessToLocations - this will simply not solve. I can't even get it to work in the REST end point.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'd like to try to fix the issues with my first attempt as i also need to do some other things during the iteration. Below is my code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="javascript" __jive_macro_name="code" class="jive_macro_code _jivemacro_uid_14364010708285574 jive_text_macro" data-renderedposition="204.39999389648438_8_895_436" jivemacro_uid="_14364010708285574" modifiedtitle="true"&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/TD&gt;&lt;TD&gt;for (i in depotLocs) {&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/TD&gt;&lt;TD&gt;console.log(i)&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/TD&gt;&lt;TD&gt;var locator = new esri.tasks.Locator(this.config.geoCoder);&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/TD&gt;&lt;TD&gt;console.log("A")&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/TD&gt;&lt;TD&gt;locator.outSpatialReference = sRef;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/TD&gt;&lt;TD&gt;console.log("B")&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/TD&gt;&lt;TD&gt;var optionsFrom = {&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/TD&gt;&lt;TD&gt;address: { "SingleLine": depotLocs&lt;I&gt; },&lt;/I&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/TD&gt;&lt;TD&gt;outFields: ["Loc_name"]&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/TD&gt;&lt;TD&gt;};&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/TD&gt;&lt;TD&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/TD&gt;&lt;TD&gt;locator.addressToLocations(optionsFrom,function(candidate){&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/TD&gt;&lt;TD&gt;var r = candidate;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/TD&gt;&lt;TD&gt;facilitiesGraphicsLayer.add(new Graphic(new Point(r[0].location.x,r[0].location.y,sRef)));&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/TD&gt;&lt;TD&gt;depotGraphic.push(new Graphic(new Point(r[0].location.x,r[0].location.y,sRef)));&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/TD&gt;&lt;TD&gt;console.log(i)&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/TD&gt;&lt;TD&gt;console.log(r[0].location.x)&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/TD&gt;&lt;TD&gt;console.log(r[0].location.y)&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/TD&gt;&lt;TD&gt;}); &lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does anyone have a possible solution to it being solved out of order? it is a bit of pain as it doesn't consistently happen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hamish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Jul 2015 00:18:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/locator-not-solving-in-right-order/m-p/853774#M11142</guid>
      <dc:creator>HamishKingsbury1</dc:creator>
      <dc:date>2015-07-09T00:18:00Z</dc:date>
    </item>
    <item>
      <title>Re: Locator not solving in right order</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/locator-not-solving-in-right-order/m-p/853775#M11143</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hamish,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; I am not real sure about the order issue but here are some other things I would change about your code:&lt;/P&gt;&lt;P&gt;No need to have the locator var inside the loop where it is recreated each time.&lt;/P&gt;&lt;P&gt;Use dojo for handling array looping.&lt;/P&gt;&lt;P&gt;You will need to require 'dojo/_base/array'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you have already required esri/tasks/Locator then do not use the Legacy "esri.tasks.Locator" when you you construct the var using new.&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;var locator = new Locator(this.config.geoCoder);
array.map(depotLocs, function(depotLoc){
&amp;nbsp; console.log(depotLoc);
&amp;nbsp; locator.outSpatialReference = sRef;
&amp;nbsp; var optionsFrom = {
&amp;nbsp;&amp;nbsp;&amp;nbsp; address: {"SingleLine": depotLoc},
&amp;nbsp;&amp;nbsp;&amp;nbsp; outFields: ["Loc_name"]
&amp;nbsp; };
&amp;nbsp; locator.addressToLocations(optionsFrom, function(candidate){
&amp;nbsp;&amp;nbsp;&amp;nbsp; var r = candidate;
&amp;nbsp;&amp;nbsp;&amp;nbsp; facilitiesGraphicsLayer.add(new Graphic(new Point(r[0].location.x, r[0].location.y, sRef)));
&amp;nbsp;&amp;nbsp;&amp;nbsp; depotGraphic.push(new Graphic(new Point(r[0].location.x, r[0].location.y, sRef)));
&amp;nbsp;&amp;nbsp;&amp;nbsp; console.log(i);
&amp;nbsp;&amp;nbsp;&amp;nbsp; console.log(r[0].location.x);
&amp;nbsp;&amp;nbsp;&amp;nbsp; console.log(r[0].location.y);
&amp;nbsp; });
}, this);&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let me know if this changes anything for you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 10:32:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/locator-not-solving-in-right-order/m-p/853775#M11143</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2021-12-12T10:32:00Z</dc:date>
    </item>
    <item>
      <title>Re: Locator not solving in right order</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/locator-not-solving-in-right-order/m-p/853776#M11144</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Unfortunately that's still returning them out of order... Its really bizarre.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Jul 2015 05:03:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/locator-not-solving-in-right-order/m-p/853776#M11144</guid>
      <dc:creator>HamishKingsbury1</dc:creator>
      <dc:date>2015-07-09T05:03:43Z</dc:date>
    </item>
    <item>
      <title>Re: Locator not solving in right order</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/locator-not-solving-in-right-order/m-p/853777#M11145</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hamish,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; I think you need to use addressesToLocations. Here is a sample of how to use this method (untested):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; var locator = new Locator(this.config.geoCoder);
&amp;nbsp;&amp;nbsp;&amp;nbsp; locator.outSpatialReference = sRef;
&amp;nbsp;&amp;nbsp;&amp;nbsp; var dadds = []; 
&amp;nbsp;&amp;nbsp;&amp;nbsp; array.map(depotLocs, function(depotLoc, index){
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; dadds.push({
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "OBJECTID":index,
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "SingleLine":depotLoc
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; });
&amp;nbsp;&amp;nbsp;&amp;nbsp; };
&amp;nbsp;&amp;nbsp;&amp;nbsp; var options = { 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; addresses: dadds, 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; outFields: ["Loc_name"] 
&amp;nbsp;&amp;nbsp;&amp;nbsp; };
&amp;nbsp;&amp;nbsp;&amp;nbsp; locator.addressesToLocations(options, function(result){
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; array.map(result.locations, function(candidate){
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; facilitiesGraphicsLayer.add(new Graphic(new Point(candidate.location.x, candidate.location.y, sRef))); 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; depotGraphic.push(new Graphic(new Point(candidate.location.x, candidate.location.y, sRef)));
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; } 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }); 
&amp;nbsp;&amp;nbsp;&amp;nbsp; }, this);&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 10:32:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/locator-not-solving-in-right-order/m-p/853777#M11145</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2021-12-12T10:32:02Z</dc:date>
    </item>
    <item>
      <title>Re: Locator not solving in right order</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/locator-not-solving-in-right-order/m-p/853778#M11146</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Cheers Robert, I have tried something similar, but I will try your approach.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And well done on winning the competition! With all the help you've given me recently I think you very much deserve it!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Jul 2015 21:19:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/locator-not-solving-in-right-order/m-p/853778#M11146</guid>
      <dc:creator>HamishKingsbury1</dc:creator>
      <dc:date>2015-07-09T21:19:32Z</dc:date>
    </item>
    <item>
      <title>Re: Locator not solving in right order</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/locator-not-solving-in-right-order/m-p/853779#M11147</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Hamish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Jul 2015 21:21:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/locator-not-solving-in-right-order/m-p/853779#M11147</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2015-07-09T21:21:20Z</dc:date>
    </item>
    <item>
      <title>Re: Locator not solving in right order</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/locator-not-solving-in-right-order/m-p/853780#M11148</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So using your code I'm getting the same issue when I tried to implement the addressesToLocations.. The console is saying its a 400 error&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Jul 2015 21:38:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/locator-not-solving-in-right-order/m-p/853780#M11148</guid>
      <dc:creator>HamishKingsbury1</dc:creator>
      <dc:date>2015-07-09T21:38:31Z</dc:date>
    </item>
    <item>
      <title>Re: Locator not solving in right order</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/locator-not-solving-in-right-order/m-p/853781#M11149</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hamish,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Whose geocoding service are you using, one of your own or esris? If you are using esris then batch geocoding costs credits against your AGOL account.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Jul 2015 22:26:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/locator-not-solving-in-right-order/m-p/853781#M11149</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2015-07-09T22:26:14Z</dc:date>
    </item>
    <item>
      <title>Re: Locator not solving in right order</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/locator-not-solving-in-right-order/m-p/853782#M11150</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We're using our own. We've access to a few and I've pointed it to them as well with no luck&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Jul 2015 22:42:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/locator-not-solving-in-right-order/m-p/853782#M11150</guid>
      <dc:creator>HamishKingsbury1</dc:creator>
      <dc:date>2015-07-09T22:42:36Z</dc:date>
    </item>
    <item>
      <title>Re: Locator not solving in right order</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/locator-not-solving-in-right-order/m-p/853783#M11151</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hamish,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; So it has to be something in the overall code then. Can you share more of the code with me?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Jul 2015 22:53:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/locator-not-solving-in-right-order/m-p/853783#M11151</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2015-07-09T22:53:38Z</dc:date>
    </item>
    <item>
      <title>Re: Locator not solving in right order</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/locator-not-solving-in-right-order/m-p/853784#M11152</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm fairly confident that the issue is with the code I put in my first post. Here is a screenshot of the console when the tasks are called&lt;/P&gt;&lt;P&gt;&lt;IMG alt="issue.png" class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/116212_issue.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;The addresses have been called from top to bottom (they basically appear in the console simultaneously) but looking at the input parameters they are in the right order. What i think the problem is is that the solve times are different. The last one is being solved second (looking at the solve/return time - and I have confirmed this later down the track when I needed to use the x/y locations of the addresses in order) and is therefore being added before the second and third address&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Jul 2015 23:20:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/locator-not-solving-in-right-order/m-p/853784#M11152</guid>
      <dc:creator>HamishKingsbury1</dc:creator>
      <dc:date>2015-07-09T23:20:33Z</dc:date>
    </item>
    <item>
      <title>Re: Locator not solving in right order</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/locator-not-solving-in-right-order/m-p/853785#M11153</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hamish,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; If there is only a couple of addresses that you are locating then you could just set the code up to not process the next until the last on is done. But really the addressesToLocations is the proper way as it will maintain the order.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Jul 2015 00:02:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/locator-not-solving-in-right-order/m-p/853785#M11153</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2015-07-10T00:02:34Z</dc:date>
    </item>
  </channel>
</rss>

