<?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: Display route in Polling Place Locator App in State &amp; Local Government Questions</title>
    <link>https://community.esri.com/t5/state-local-government-questions/display-route-in-polling-place-locator-app/m-p/527998#M3387</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Someone from ESRI support finally figured this out. He said it had to do with some differences in our services and ESRI's.&amp;nbsp; Below are the changes he had me make and now it works with our own routing service.&amp;nbsp; So in case this helps anyone else (line numbers may not be exact, but are close) here it is:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. At line 89 in route.js, Add:&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;BR /&gt;directions.mergedGeometry.paths =&lt;BR /&gt;solveResult.routeResults[0].route.geometry.paths;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. At line 48 in route.js, Change:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;BR /&gt;routeParams.returnRoutes = false; &lt;/P&gt;&lt;P&gt; to true&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; 3. At line 300 in config.js, Change:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;BR /&gt;ShowDirection: false&lt;/P&gt;&lt;P&gt;to true&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 02 Oct 2014 13:13:47 GMT</pubDate>
    <dc:creator>KendellRyan</dc:creator>
    <dc:date>2014-10-02T13:13:47Z</dc:date>
    <item>
      <title>Display route in Polling Place Locator App</title>
      <link>https://community.esri.com/t5/state-local-government-questions/display-route-in-polling-place-locator-app/m-p/527997#M3386</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We are testing the polling place locator app. We are using our own geocoding, geometry and routing services.&amp;nbsp; Everything is working fine except with the directions function, the blue line showing the route does not display (as it does with the ESRI world routing service).&amp;nbsp; The textual information is shown correctly on the tab.&amp;nbsp; I didn't modify anything in the code for that section other than replace the URL for the service. Do we need to modify something in our closest facility service? Or do I need to modify something in the application. Any suggestions are appreciated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Aug 2014 17:19:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/state-local-government-questions/display-route-in-polling-place-locator-app/m-p/527997#M3386</guid>
      <dc:creator>KendellRyan</dc:creator>
      <dc:date>2014-08-25T17:19:23Z</dc:date>
    </item>
    <item>
      <title>Re: Display route in Polling Place Locator App</title>
      <link>https://community.esri.com/t5/state-local-government-questions/display-route-in-polling-place-locator-app/m-p/527998#M3387</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Someone from ESRI support finally figured this out. He said it had to do with some differences in our services and ESRI's.&amp;nbsp; Below are the changes he had me make and now it works with our own routing service.&amp;nbsp; So in case this helps anyone else (line numbers may not be exact, but are close) here it is:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. At line 89 in route.js, Add:&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;BR /&gt;directions.mergedGeometry.paths =&lt;BR /&gt;solveResult.routeResults[0].route.geometry.paths;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. At line 48 in route.js, Change:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;BR /&gt;routeParams.returnRoutes = false; &lt;/P&gt;&lt;P&gt; to true&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; 3. At line 300 in config.js, Change:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;BR /&gt;ShowDirection: false&lt;/P&gt;&lt;P&gt;to true&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Oct 2014 13:13:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/state-local-government-questions/display-route-in-polling-place-locator-app/m-p/527998#M3387</guid>
      <dc:creator>KendellRyan</dc:creator>
      <dc:date>2014-10-02T13:13:47Z</dc:date>
    </item>
  </channel>
</rss>

