<?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: how can i load a map with url in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-can-i-load-a-map-with-url/m-p/1191315#M77894</link>
    <description>&lt;P&gt;That endpoint is a FeatureService, but the utility endpoint is different. Assuming you have a FeatureService, you can use a FeatureLayer and add it to the Map.&lt;/P&gt;&lt;P&gt;Here is the doc&lt;/P&gt;&lt;P&gt;&lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html" target="_blank"&gt;https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Here's a tutorial on the subject as well.&lt;/P&gt;&lt;P&gt;&lt;A href="https://developers.arcgis.com/javascript/latest/add-a-feature-layer/" target="_blank"&gt;https://developers.arcgis.com/javascript/latest/add-a-feature-layer/&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 11 Jul 2022 17:51:31 GMT</pubDate>
    <dc:creator>ReneRubalcava</dc:creator>
    <dc:date>2022-07-11T17:51:31Z</dc:date>
    <item>
      <title>how can i load a map with url</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-can-i-load-a-map-with-url/m-p/1191286#M77890</link>
      <description>&lt;P&gt;I have implemented to load the map with the id of the map in this way:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;  initializeMap(): Promise&amp;lt;any&amp;gt; {
    const container = this.mapViewEl.nativeElement;
    const webmap = new WebMap({
      portalItem: {
        id: 'e781f03655844e2ab9123343d21cf1'
      },
    });
    const view = new MapView({
      container,
      map: webmap
    });
    this.webmap = webmap;
    this.view = view;
    return this.view.when();
  }&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;now I need to load a map that is in url, how can I do it by loading the map with url ?&lt;/P&gt;&lt;P&gt;&lt;A href="https://utility.arcgis.com/......." target="_blank" rel="noopener"&gt;https://utility.arcgis.com/.......&lt;/A&gt;./FeatureServer/0&lt;/P&gt;</description>
      <pubDate>Mon, 11 Jul 2022 16:34:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-can-i-load-a-map-with-url/m-p/1191286#M77890</guid>
      <dc:creator>stiven</dc:creator>
      <dc:date>2022-07-11T16:34:50Z</dc:date>
    </item>
    <item>
      <title>Re: how can i load a map with url</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-can-i-load-a-map-with-url/m-p/1191315#M77894</link>
      <description>&lt;P&gt;That endpoint is a FeatureService, but the utility endpoint is different. Assuming you have a FeatureService, you can use a FeatureLayer and add it to the Map.&lt;/P&gt;&lt;P&gt;Here is the doc&lt;/P&gt;&lt;P&gt;&lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html" target="_blank"&gt;https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Here's a tutorial on the subject as well.&lt;/P&gt;&lt;P&gt;&lt;A href="https://developers.arcgis.com/javascript/latest/add-a-feature-layer/" target="_blank"&gt;https://developers.arcgis.com/javascript/latest/add-a-feature-layer/&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 11 Jul 2022 17:51:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-can-i-load-a-map-with-url/m-p/1191315#M77894</guid>
      <dc:creator>ReneRubalcava</dc:creator>
      <dc:date>2022-07-11T17:51:31Z</dc:date>
    </item>
    <item>
      <title>Re: how can i load a map with url</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-can-i-load-a-map-with-url/m-p/1191343#M77899</link>
      <description>&lt;P&gt;Thank you very much, that's what I was looking for&lt;/P&gt;</description>
      <pubDate>Mon, 11 Jul 2022 19:30:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-can-i-load-a-map-with-url/m-p/1191343#M77899</guid>
      <dc:creator>stiven</dc:creator>
      <dc:date>2022-07-11T19:30:26Z</dc:date>
    </item>
  </channel>
</rss>

