<?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: Service area demo not working in UK in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/service-area-demo-not-working-in-uk/m-p/484515#M45140</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;It's because the data behind the network analysis service that this sample uses (&lt;/SPAN&gt;&lt;A href="http://sampleserver3.arcgisonline.com/ArcGIS/rest/services/Network/USA/NAServer/Service Area"&gt;http://sampleserver3.arcgisonline.com/ArcGIS/rest/services/Network/USA/NAServer/Service Area&lt;/A&gt;&lt;SPAN&gt;) only covers the US and Canada. This service does not have the road network data for the UK.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You can either use the &lt;/SPAN&gt;&lt;A href="http://resources.arcgis.com/en/help/arcgis-rest-api/#/Overview_of_network_analysis_services/02r30000001s000000/"&gt;ArcGIS World Network Analysis Service&lt;/A&gt;&lt;SPAN&gt;, which covers &lt;/SPAN&gt;&lt;A href="http://resources.arcgis.com/en/help/arcgis-rest-api/#/Data_coverage_for_network_analysis_services/02r300000034000000/"&gt;145 countries&lt;/A&gt;&lt;SPAN&gt; including the UK, OR set up your own network analysis service with UK road data.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you already have an ArcGIS.com subscription, just replace the URL in line 49 in the &lt;/SPAN&gt;&lt;A href="http://developers.arcgis.com/en/javascript/samples/routetask_basic_servicearea/"&gt;service area demo&lt;/A&gt;&lt;SPAN&gt; with the URL to the &lt;/SPAN&gt;&lt;A href="http://resources.arcgis.com/en/help/arcgis-rest-api/#/Service_Area_service_with_synchronous_execution/02r3000000n2000000/"&gt;service area task&lt;/A&gt;&lt;SPAN&gt; on the world network analysis server:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code jive_text_macro"&gt;serviceAreaTask = new esri.tasks.ServiceAreaTask("https://route.arcgis.com/arcgis/rest/services/World/ServiceAreas/NAServer/ServiceArea_World");&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;It would prompt a log-in box to ask for your ArcGIS.com account credentials when executing the service area task.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 29 Oct 2013 18:03:33 GMT</pubDate>
    <dc:creator>JanelYang</dc:creator>
    <dc:date>2013-10-29T18:03:33Z</dc:date>
    <item>
      <title>Service area demo not working in UK</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/service-area-demo-not-working-in-uk/m-p/484514#M45139</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi, &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I've been trying to user service area demo (&lt;/SPAN&gt;&lt;A href="http://developers.arcgis.com/en/javascript/samples/routetask_basic_servicearea/"&gt;http://developers.arcgis.com/en/javascript/samples/routetask_basic_servicearea/&lt;/A&gt;&lt;SPAN&gt;) in area of UK. Every time i click on map withing UK or anywhere else outside of US i get an error in the console:"dojo.io.script error&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Error: Unable to complete operation."&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;When examinig the error object in the debugger i can see in the details of the error:"Location \"Location 1\" in \"Facilities\" is unlocated.&amp;nbsp; 0 location(s) in \"Facilities\" are valid.&amp;nbsp; Need at least 1 valid location(s).&amp;nbsp; Insufficient number of valid locations in \"Facilities\"."&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Seems like geocoding issue ?, but not sure how to fix it to make the demo work for UK? I got the same error for Austalia,SA Germany and few others.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Szymon&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Oct 2013 10:57:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/service-area-demo-not-working-in-uk/m-p/484514#M45139</guid>
      <dc:creator>SzymonPiskula</dc:creator>
      <dc:date>2013-10-29T10:57:52Z</dc:date>
    </item>
    <item>
      <title>Re: Service area demo not working in UK</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/service-area-demo-not-working-in-uk/m-p/484515#M45140</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;It's because the data behind the network analysis service that this sample uses (&lt;/SPAN&gt;&lt;A href="http://sampleserver3.arcgisonline.com/ArcGIS/rest/services/Network/USA/NAServer/Service Area"&gt;http://sampleserver3.arcgisonline.com/ArcGIS/rest/services/Network/USA/NAServer/Service Area&lt;/A&gt;&lt;SPAN&gt;) only covers the US and Canada. This service does not have the road network data for the UK.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You can either use the &lt;/SPAN&gt;&lt;A href="http://resources.arcgis.com/en/help/arcgis-rest-api/#/Overview_of_network_analysis_services/02r30000001s000000/"&gt;ArcGIS World Network Analysis Service&lt;/A&gt;&lt;SPAN&gt;, which covers &lt;/SPAN&gt;&lt;A href="http://resources.arcgis.com/en/help/arcgis-rest-api/#/Data_coverage_for_network_analysis_services/02r300000034000000/"&gt;145 countries&lt;/A&gt;&lt;SPAN&gt; including the UK, OR set up your own network analysis service with UK road data.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you already have an ArcGIS.com subscription, just replace the URL in line 49 in the &lt;/SPAN&gt;&lt;A href="http://developers.arcgis.com/en/javascript/samples/routetask_basic_servicearea/"&gt;service area demo&lt;/A&gt;&lt;SPAN&gt; with the URL to the &lt;/SPAN&gt;&lt;A href="http://resources.arcgis.com/en/help/arcgis-rest-api/#/Service_Area_service_with_synchronous_execution/02r3000000n2000000/"&gt;service area task&lt;/A&gt;&lt;SPAN&gt; on the world network analysis server:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code jive_text_macro"&gt;serviceAreaTask = new esri.tasks.ServiceAreaTask("https://route.arcgis.com/arcgis/rest/services/World/ServiceAreas/NAServer/ServiceArea_World");&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;It would prompt a log-in box to ask for your ArcGIS.com account credentials when executing the service area task.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Oct 2013 18:03:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/service-area-demo-not-working-in-uk/m-p/484515#M45140</guid>
      <dc:creator>JanelYang</dc:creator>
      <dc:date>2013-10-29T18:03:33Z</dc:date>
    </item>
  </channel>
</rss>

