<?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: Zoom button and auto zoom in Directions widget in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/zoom-button-and-auto-zoom-in-directions-widget/m-p/254883#M23641</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Niklas,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;I have looked through all the html elements to see if the zoom button was just set to not display, but it just doesn't exist in the html. So it seems like the docs may have not been updated to reflect a change to do away with this button in lieu of the get directions button zooming to the full route.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 22 Jun 2017 12:58:23 GMT</pubDate>
    <dc:creator>RobertScheitlin__GISP</dc:creator>
    <dc:date>2017-06-22T12:58:23Z</dc:date>
    <item>
      <title>Zoom button and auto zoom in Directions widget</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/zoom-button-and-auto-zoom-in-directions-widget/m-p/254882#M23640</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm experiencing two issues with the Directions widget of the JS API:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;The first issue came in with API version 3.19: The “Zoom to full route” button was available up to API version 3.18 and is missing now. Our customers would like to have it back.&lt;/LI&gt;&lt;LI&gt;The 2&lt;SUP&gt;nd&lt;/SUP&gt; issue was probably always there: After performing “autoSolve” the Directions widget does not zoom to the route. Only after hitting “Get Directions”, the map will zoom in to the route. The issue didn’t attract so much attention before, because you could just hit the “Zoom to full route” button, which you can’t anymore now.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The attached screenshots show the behavior. You can reproduce the issue by using the sample at &lt;A href="https://developers.arcgis.com/javascript/3/sandbox/sandbox.html?sample=widget_directions_basic"&gt;https://developers.arcgis.com/javascript/3/sandbox/sandbox.html?sample=widget_directions_basic&lt;/A&gt;:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Add 2 locations and let the widget auto solve the route. It won’t zoom to the routing result. Only after hitting “Get directions”, the zoom will occur.&lt;/LI&gt;&lt;LI&gt;Alter the code to use API version 3.18 instead of 3.20: The “Zoom to full route” button will appear above the directions list after calculating the first route. The button is missing in API version 3.19 and 3.20.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt;"&gt;The &lt;A href="https://developers.arcgis.com/javascript/3/jsapi/directions-amd.html#directions1"&gt;JS API documentation&lt;/A&gt;&amp;nbsp;says:&lt;/SPAN&gt;&lt;/P&gt;&lt;TABLE style="background: #FAFAFA;" width="1334"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD style="border: solid #D9D9D9 1.0pt; background: #EDEDED; padding: 3.0pt 4.5pt 3.0pt 4.5pt;" width="588"&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.5pt; color: #595959;"&gt;esriResultsViewFullRoute&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border: solid #D9D9D9 1.0pt; border-left: none; background: #EDEDED; padding: 3.0pt 4.5pt 3.0pt 4.5pt;" width="721"&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.5pt; color: #595959;"&gt;Class assigned to the 'Zoom to full route' button.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.5pt; color: #595959;"&gt;/*Change the color of the Zoom to full route text*/&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.5pt; color: #595959;"&gt;.simpleDirections .esriResultsViewFullRoute{&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.5pt; color: #595959;"&gt;&amp;nbsp; color:#999;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.5pt; color: #595959;"&gt;}&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt;"&gt;I’d say this proves that the button is not intended to be missing.&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="font-size: 11.0pt;"&gt;&lt;A href="https://community.esri.com/people/odoe"&gt;odoe&lt;/A&gt;‌ any idea?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;IMG __jive_id="358125" alt="3.18 has no auto zoom after autoSolve, but a zoom button" class="image-1 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/358125_3.18.png" style="width: 620px; height: 373px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="358126" alt="3.19 has no auto zoom after autoSolve AND the zoom button is missing" class="image-2 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/358126_3.19.png" style="width: 620px; height: 373px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Jun 2017 09:17:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/zoom-button-and-auto-zoom-in-directions-widget/m-p/254882#M23640</guid>
      <dc:creator>NiklasKöhn</dc:creator>
      <dc:date>2017-06-22T09:17:39Z</dc:date>
    </item>
    <item>
      <title>Re: Zoom button and auto zoom in Directions widget</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/zoom-button-and-auto-zoom-in-directions-widget/m-p/254883#M23641</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Niklas,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;I have looked through all the html elements to see if the zoom button was just set to not display, but it just doesn't exist in the html. So it seems like the docs may have not been updated to reflect a change to do away with this button in lieu of the get directions button zooming to the full route.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Jun 2017 12:58:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/zoom-button-and-auto-zoom-in-directions-widget/m-p/254883#M23641</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2017-06-22T12:58:23Z</dc:date>
    </item>
    <item>
      <title>Re: Zoom button and auto zoom in Directions widget</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/zoom-button-and-auto-zoom-in-directions-widget/m-p/254884#M23642</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yeah, that's possible.. but I actually hope that they've lost the button by accident and that it will be included again. &lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/wink.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Jun 2017 13:36:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/zoom-button-and-auto-zoom-in-directions-widget/m-p/254884#M23642</guid>
      <dc:creator>NiklasKöhn</dc:creator>
      <dc:date>2017-06-22T13:36:41Z</dc:date>
    </item>
    <item>
      <title>Re: Zoom button and auto zoom in Directions widget</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/zoom-button-and-auto-zoom-in-directions-widget/m-p/254885#M23643</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In the meantime, I've opened up a support case and the missing button has become an enhancement request.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="color: #333333; background-color: #f5f5f5; font-size: 14px; margin: 10px 0px 0px;"&gt;ENH-000106066 : Add the "ZOOM TO FULL ROUTE" option back to the Directions widget.&lt;/P&gt;&lt;P style="color: #333333; background-color: #f5f5f5; font-size: 14px; margin: 10px 0px 0px;"&gt;BUG-000106065 : When using the Directions widget if the user adds stops by clicking on the map the map does not zoom to the extent of the route automatically.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Jun 2017 10:13:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/zoom-button-and-auto-zoom-in-directions-widget/m-p/254885#M23643</guid>
      <dc:creator>NiklasKöhn</dc:creator>
      <dc:date>2017-06-23T10:13:36Z</dc:date>
    </item>
  </channel>
</rss>

