<?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: Driving Script - Bug Report in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/driving-script-bug-report/m-p/748104#M69200</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I did several more tests.&amp;nbsp; It appears to be that ESRI's geocoding service fails to work as the geocoding status displays on the top-right corner forever.&amp;nbsp; For example, I used the two valid addresses below:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;3730 Allendale Circle, Pittsburgh, PA 15204&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;3600 Forbes Ave., Pittsburgh, PA 15261&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I wish ESRI can take care of this.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 19 Jul 2011 13:06:11 GMT</pubDate>
    <dc:creator>ShaningYu</dc:creator>
    <dc:date>2011-07-19T13:06:11Z</dc:date>
    <item>
      <title>Driving Script - Bug Report</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/driving-script-bug-report/m-p/748103#M69199</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;In ArcGIS Extension for Google Maps API, the sample code: Get Driving Directions (&lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/webapi/javascript/gmaps/samples/routetask/routetask_directions.html"&gt;http://help.arcgis.com/en/webapi/javascript/gmaps/samples/routetask/routetask_directions.html&lt;/A&gt;&lt;SPAN&gt;) appears to have some bugs.&amp;nbsp; If you runs the script w/o any change, the results look to be fine.&amp;nbsp; If change the starting address: e.g. I put 2325 Birch Log Way, Hacienda Heights, CA 91745, the results obtained:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1) Only the Start point address displays on the map, and the destination address point does not show.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2) Geocoding actually fails.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I also run several other tests.&amp;nbsp; Sometime it works but sometimes not.&amp;nbsp; I guess it is due to the failure of geocoding.&amp;nbsp; It appears to be that many addresses can not be geocoded.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 16 Jul 2011 18:30:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/driving-script-bug-report/m-p/748103#M69199</guid>
      <dc:creator>ShaningYu</dc:creator>
      <dc:date>2011-07-16T18:30:08Z</dc:date>
    </item>
    <item>
      <title>Re: Driving Script - Bug Report</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/driving-script-bug-report/m-p/748104#M69200</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I did several more tests.&amp;nbsp; It appears to be that ESRI's geocoding service fails to work as the geocoding status displays on the top-right corner forever.&amp;nbsp; For example, I used the two valid addresses below:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;3730 Allendale Circle, Pittsburgh, PA 15204&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;3600 Forbes Ave., Pittsburgh, PA 15261&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I wish ESRI can take care of this.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Jul 2011 13:06:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/driving-script-bug-report/m-p/748104#M69200</guid>
      <dc:creator>ShaningYu</dc:creator>
      <dc:date>2011-07-19T13:06:11Z</dc:date>
    </item>
    <item>
      <title>Re: Driving Script - Bug Report</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/driving-script-bug-report/m-p/748105#M69201</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;If you look at the source for the sample, you'll see the following:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;var from_segs = document.getElementById("from_text").value.split(",");
var from_addr = { Address: from_segs[0], City: from_segs[1], State: from_segs[2], Zip: from_segs[3]};&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;There is similar code for the "to" address. What that means is that the sample expects addresses in a&amp;nbsp; specific format- all pieces of the address need to be comma separated. This is not ideal but it's how the geocoding/locator service used in the sample works. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you change your addresses to "3730 Allendale Circle, Pittsburgh, PA, 15204" and "3600 Forbes Ave., Pittsburgh, PA, 15261" the sample works (although routing did takes more than a few seconds for me...).&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 07:47:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/driving-script-bug-report/m-p/748105#M69201</guid>
      <dc:creator>derekswingley1</dc:creator>
      <dc:date>2021-12-12T07:47:58Z</dc:date>
    </item>
    <item>
      <title>Re: Driving Script - Bug Report</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/driving-script-bug-report/m-p/748106#M69202</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks.&amp;nbsp; I did not realize a "," should be placed after State.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Jul 2011 16:09:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/driving-script-bug-report/m-p/748106#M69202</guid>
      <dc:creator>ShaningYu</dc:creator>
      <dc:date>2011-07-19T16:09:35Z</dc:date>
    </item>
  </channel>
</rss>

