<?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 Adding a ArcGIS REST SErvices Layer to ESRI JS API in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/adding-a-arcgis-rest-services-layer-to-esri-js-api/m-p/323788#M29839</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would like to add a layer from ESRI account to an existing application written using the ESRI Javascript API. Here is an example of the kind of layer I would like to add:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="http://citygate.maps.arcgis.com/home/webmap/viewer.html?webmap=d9d10799698144f8b57e3b13972f0aa4" title="http://citygate.maps.arcgis.com/home/webmap/viewer.html?webmap=d9d10799698144f8b57e3b13972f0aa4"&gt;http://citygate.maps.arcgis.com/home/webmap/viewer.html?webmap=d9d10799698144f8b57e3b13972f0aa4&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;which is essentially a proxy for this layer:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="http://geodata.md.gov/imap/rest/services/Transportation/MD_AnnualAverageDailyTraffic/MapServer/1" title="http://geodata.md.gov/imap/rest/services/Transportation/MD_AnnualAverageDailyTraffic/MapServer/1"&gt;Layer: Annual Average Daily Traffic - SHA Statewide AADT Lines (ID: 1)&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is this possible? There does not seem to be a url to add this as a feature layer anywhere.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 15 Sep 2017 22:04:16 GMT</pubDate>
    <dc:creator>fredhejazi1</dc:creator>
    <dc:date>2017-09-15T22:04:16Z</dc:date>
    <item>
      <title>Adding a ArcGIS REST SErvices Layer to ESRI JS API</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/adding-a-arcgis-rest-services-layer-to-esri-js-api/m-p/323788#M29839</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would like to add a layer from ESRI account to an existing application written using the ESRI Javascript API. Here is an example of the kind of layer I would like to add:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="http://citygate.maps.arcgis.com/home/webmap/viewer.html?webmap=d9d10799698144f8b57e3b13972f0aa4" title="http://citygate.maps.arcgis.com/home/webmap/viewer.html?webmap=d9d10799698144f8b57e3b13972f0aa4"&gt;http://citygate.maps.arcgis.com/home/webmap/viewer.html?webmap=d9d10799698144f8b57e3b13972f0aa4&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;which is essentially a proxy for this layer:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="http://geodata.md.gov/imap/rest/services/Transportation/MD_AnnualAverageDailyTraffic/MapServer/1" title="http://geodata.md.gov/imap/rest/services/Transportation/MD_AnnualAverageDailyTraffic/MapServer/1"&gt;Layer: Annual Average Daily Traffic - SHA Statewide AADT Lines (ID: 1)&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is this possible? There does not seem to be a url to add this as a feature layer anywhere.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Sep 2017 22:04:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/adding-a-arcgis-rest-services-layer-to-esri-js-api/m-p/323788#M29839</guid>
      <dc:creator>fredhejazi1</dc:creator>
      <dc:date>2017-09-15T22:04:16Z</dc:date>
    </item>
    <item>
      <title>Re: Adding a ArcGIS REST SErvices Layer to ESRI JS API</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/adding-a-arcgis-rest-services-layer-to-esri-js-api/m-p/323789#M29840</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Fred you would just add the second url you posted as a FeatureLayer. The first url you have is to a webmap and it can not be added like a layer would, it would instead be added as the map using ArcGISUtils.&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://developers.arcgis.com/javascript/3/jssamples/ags_createwebmapid.html" title="https://developers.arcgis.com/javascript/3/jssamples/ags_createwebmapid.html"&gt;Web map by ID | ArcGIS API for JavaScript 3.21&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Sep 2017 23:22:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/adding-a-arcgis-rest-services-layer-to-esri-js-api/m-p/323789#M29840</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2017-09-15T23:22:45Z</dc:date>
    </item>
  </channel>
</rss>

