<?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: Closest facilty not Solved when facilities number are greater than 3 in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/closest-facilty-not-solved-when-facilities-number/m-p/422519#M38854</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hey, I got a bit lucky on this today.&amp;nbsp; I decided to upgrade to version 2.2. of the API just because it was available (was using 2.1 prior).&amp;nbsp; Upon trying the same functionality, I still got an error but a different message: Error: esri.config.defaults.io.proxyUrl is not set.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It turns out that as I was passing more geometries and/or geometries with more vertices to the Geometry service, the URL string was exceeding the 2048 character limit.&amp;nbsp; Thus, you have to configure a proxy page for your web server and access it in your web mapping app.&amp;nbsp; Within the ArcGIS JavaScript API reference doc (&lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/webapi/javascript/arcgis/help/jshelp_start.htm"&gt;http://help.arcgis.com/en/webapi/javascript/arcgis/help/jshelp_start.htm&lt;/A&gt;&lt;SPAN&gt;), go to the Concepts tab &amp;gt; Working with ArcGIS Server Services &amp;gt; Using the Proxy Page.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I had the whole thing configured in less than an hour and indeed it solved the problem!&amp;nbsp; I hope that helps.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;- Paul&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 16 Mar 2011 20:59:51 GMT</pubDate>
    <dc:creator>PaulAngelino</dc:creator>
    <dc:date>2011-03-16T20:59:51Z</dc:date>
    <item>
      <title>Closest facilty not Solved when facilities number are greater than 3</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/closest-facilty-not-solved-when-facilities-number/m-p/422517#M38852</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello All,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am trying to extend the sample to solve closest facilities. It works well when I have closest facilities(&amp;lt;=3). This is basically about the places to eat on my Campus (Umaine). Please have a look at the code. it works fine when I comment out any of 3 eatery location out of 6 , it gives corrrect directions. The link for the code is&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://dl.dropbox.com/u/20701685/projectcampuseateries/eatmap5.html"&gt;http://dl.dropbox.com/u/20701685/pro...s/eatmap5.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I get the following as error on Firebug&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;io is undefined&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[Break On This Error] if(!dojo._hasResource["dijit._base.man...h","tr","xx","zh","zh-cn","zh-tw"]);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;arcgis?v=2.1 (line 48)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you so much&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Mar 2011 13:50:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/closest-facilty-not-solved-when-facilities-number/m-p/422517#M38852</guid>
      <dc:creator>ShreyansJain</dc:creator>
      <dc:date>2011-03-09T13:50:15Z</dc:date>
    </item>
    <item>
      <title>Re: Closest facilty not Solved when facilities number are greater than 3</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/closest-facilty-not-solved-when-facilities-number/m-p/422518#M38853</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi, did you ever find out anything about this error?&amp;nbsp; I'm experiencing something similar.&amp;nbsp; I have a pretty basic web mapping app at this point.&amp;nbsp; The user draws one or more polygons on the map and then clicks a button which calls the geometry service to simplify the polys, reproject them and calculate the combined area of them.&amp;nbsp; I'm seeing the same error as you intermittently.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Please let me know if you learn anything and I'll do the same.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Paul&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Mar 2011 16:10:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/closest-facilty-not-solved-when-facilities-number/m-p/422518#M38853</guid>
      <dc:creator>PaulAngelino</dc:creator>
      <dc:date>2011-03-16T16:10:31Z</dc:date>
    </item>
    <item>
      <title>Re: Closest facilty not Solved when facilities number are greater than 3</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/closest-facilty-not-solved-when-facilities-number/m-p/422519#M38854</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hey, I got a bit lucky on this today.&amp;nbsp; I decided to upgrade to version 2.2. of the API just because it was available (was using 2.1 prior).&amp;nbsp; Upon trying the same functionality, I still got an error but a different message: Error: esri.config.defaults.io.proxyUrl is not set.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It turns out that as I was passing more geometries and/or geometries with more vertices to the Geometry service, the URL string was exceeding the 2048 character limit.&amp;nbsp; Thus, you have to configure a proxy page for your web server and access it in your web mapping app.&amp;nbsp; Within the ArcGIS JavaScript API reference doc (&lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/webapi/javascript/arcgis/help/jshelp_start.htm"&gt;http://help.arcgis.com/en/webapi/javascript/arcgis/help/jshelp_start.htm&lt;/A&gt;&lt;SPAN&gt;), go to the Concepts tab &amp;gt; Working with ArcGIS Server Services &amp;gt; Using the Proxy Page.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I had the whole thing configured in less than an hour and indeed it solved the problem!&amp;nbsp; I hope that helps.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;- Paul&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Mar 2011 20:59:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/closest-facilty-not-solved-when-facilities-number/m-p/422519#M38854</guid>
      <dc:creator>PaulAngelino</dc:creator>
      <dc:date>2011-03-16T20:59:51Z</dc:date>
    </item>
  </channel>
</rss>

