<?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: Click feature and get route from current location in ArcGIS AppStudio Questions</title>
    <link>https://community.esri.com/t5/arcgis-appstudio-questions/click-feature-and-get-route-from-current-location/m-p/1026081#M3808</link>
    <description>&lt;P&gt;Cheers Joe, &amp;nbsp;I’ll hunt down if we have our own service.&lt;/P&gt;&lt;P&gt;Eric&lt;/P&gt;</description>
    <pubDate>Thu, 11 Feb 2021 21:18:51 GMT</pubDate>
    <dc:creator>EricAtkinson1</dc:creator>
    <dc:date>2021-02-11T21:18:51Z</dc:date>
    <item>
      <title>Click feature and get route from current location</title>
      <link>https://community.esri.com/t5/arcgis-appstudio-questions/click-feature-and-get-route-from-current-location/m-p/1024825#M3803</link>
      <description>&lt;P&gt;Hey all,&lt;/P&gt;&lt;P&gt;I've been searching everywhere to find an example of clicking on a feature and getting a route from current location. Any help would be greatly appreciated. I am using QML and Runtime 100.8. I do know the nearby sample does have that capability but having trouble finding the source code due to all the other capabilities.&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;Eric&lt;/P&gt;</description>
      <pubDate>Tue, 09 Feb 2021 12:10:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-appstudio-questions/click-feature-and-get-route-from-current-location/m-p/1024825#M3803</guid>
      <dc:creator>EricAtkinson1</dc:creator>
      <dc:date>2021-02-09T12:10:05Z</dc:date>
    </item>
    <item>
      <title>Re: Click feature and get route from current location</title>
      <link>https://community.esri.com/t5/arcgis-appstudio-questions/click-feature-and-get-route-from-current-location/m-p/1025051#M3804</link>
      <description>&lt;P&gt;HI Eric,&lt;/P&gt;&lt;P&gt;I give the user the choice of starting navigation from any point or current location.&amp;nbsp; The user selects from the buttons.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="JoeHunt1_0-1612905721497.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/5630i8FA8D901125ABAB4/image-size/medium?v=v2&amp;amp;px=400" role="button" title="JoeHunt1_0-1612905721497.png" alt="JoeHunt1_0-1612905721497.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Here is the code that sets the current location as the starting point and places a graphic.&lt;/P&gt;&lt;P&gt;stop1Geometry=RT.ArcGISRuntimeEnvironment.createObject("Point", {x: mapView.locationDisplay.location.position.x, y: mapView.locationDisplay.location.position.y, spatialReference: RT.SpatialReference.createWgs84()});&lt;BR /&gt;var simpleMarker1 = RT.ArcGISRuntimeEnvironment.createObject("SimpleMarkerSymbol", {style: RT.Enums.SimpleMarkerSymbolStyleCross, size: 15, color: "green"});&lt;BR /&gt;var graphic1 = RT.ArcGISRuntimeEnvironment.createObject("Graphic", {symbol: simpleMarker1, geometry: stop1Geometry});&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;graphicsOverlay.graphics.append(graphic1)&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;Joe&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 09 Feb 2021 21:28:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-appstudio-questions/click-feature-and-get-route-from-current-location/m-p/1025051#M3804</guid>
      <dc:creator>JoeHunt1</dc:creator>
      <dc:date>2021-02-09T21:28:04Z</dc:date>
    </item>
    <item>
      <title>Re: Click feature and get route from current location</title>
      <link>https://community.esri.com/t5/arcgis-appstudio-questions/click-feature-and-get-route-from-current-location/m-p/1025277#M3806</link>
      <description>&lt;P&gt;Thanks Joe that helped alot. I have only had experience with WAB and Dashboards so this is all pretty new to me. I am trying to use this route URL&amp;nbsp;&amp;nbsp;&lt;A href="https://route.arcgis.com/arcgis/rest/services/World/Route/NAServer/Route_World" target="_blank"&gt;https://route.arcgis.com/arcgis/rest/services/World/Route/NAServer/Route_World&lt;/A&gt;&amp;nbsp;but it does not seem to be working and am wondering if I need to put in a API key?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;cheers,&lt;/P&gt;</description>
      <pubDate>Wed, 10 Feb 2021 11:28:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-appstudio-questions/click-feature-and-get-route-from-current-location/m-p/1025277#M3806</guid>
      <dc:creator>EricAtkinson1</dc:creator>
      <dc:date>2021-02-10T11:28:57Z</dc:date>
    </item>
    <item>
      <title>Re: Click feature and get route from current location</title>
      <link>https://community.esri.com/t5/arcgis-appstudio-questions/click-feature-and-get-route-from-current-location/m-p/1025929#M3807</link>
      <description>&lt;P&gt;I have never used that service and I couldn't access it.&amp;nbsp; We have our own network dataset that we use.&lt;/P&gt;</description>
      <pubDate>Thu, 11 Feb 2021 16:27:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-appstudio-questions/click-feature-and-get-route-from-current-location/m-p/1025929#M3807</guid>
      <dc:creator>JoeHunt1</dc:creator>
      <dc:date>2021-02-11T16:27:28Z</dc:date>
    </item>
    <item>
      <title>Re: Click feature and get route from current location</title>
      <link>https://community.esri.com/t5/arcgis-appstudio-questions/click-feature-and-get-route-from-current-location/m-p/1026081#M3808</link>
      <description>&lt;P&gt;Cheers Joe, &amp;nbsp;I’ll hunt down if we have our own service.&lt;/P&gt;&lt;P&gt;Eric&lt;/P&gt;</description>
      <pubDate>Thu, 11 Feb 2021 21:18:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-appstudio-questions/click-feature-and-get-route-from-current-location/m-p/1026081#M3808</guid>
      <dc:creator>EricAtkinson1</dc:creator>
      <dc:date>2021-02-11T21:18:51Z</dc:date>
    </item>
  </channel>
</rss>

