<?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: ArcGIS JS 4.9 MapView.when not getting called in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcgis-js-4-9-mapview-when-not-getting-called/m-p/1501439#M84986</link>
    <description>&lt;P&gt;its been a while since you posted this. did you able to solve the issue? i also got the same problem&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;require(["esri/Map","esri/views/MapView"],(Map,MapView)=&amp;gt;{
   var map  = new Map({ basemap:"topo"});
   var view = new MapView({map:map,"container":"map"});
   view.when(()=&amp;gt;{
     alert('loaded'); //this was not being invoked.
  });
});&lt;/LI-CODE&gt;&lt;P&gt;alternately, i include center(lat/lon) and zoom level(17), but still doesnt do anything.. no request happening on networktab of chrome. but it does load the .js files.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 04 Jul 2024 04:16:27 GMT</pubDate>
    <dc:creator>Angelo_BryanPerito</dc:creator>
    <dc:date>2024-07-04T04:16:27Z</dc:date>
    <item>
      <title>ArcGIS JS 4.9 MapView.when not getting called</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcgis-js-4-9-mapview-when-not-getting-called/m-p/576458#M53825</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am creating a MapView but, am not able to see the same. When initially I looked into the browser tools what I found was that canvas element that is created by ArcGIS JS api is not getting created under the view-root.&amp;nbsp;Moreover, there were no queries to load webtiles.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To check&amp;nbsp;is view is getting created, I wrote callbacks for MapView.when. But, I am not getting either callback or, errorback.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What might be happening here? I am&amp;nbsp;fully flummoxed.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Nov 2018 11:21:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcgis-js-4-9-mapview-when-not-getting-called/m-p/576458#M53825</guid>
      <dc:creator>PraveenTirumandyam</dc:creator>
      <dc:date>2018-11-30T11:21:49Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS JS 4.9 MapView.when not getting called</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcgis-js-4-9-mapview-when-not-getting-called/m-p/576459#M53826</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please provide a sample that demonstrates your issue.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Nov 2018 13:29:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcgis-js-4-9-mapview-when-not-getting-called/m-p/576459#M53826</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2018-11-30T13:29:46Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS JS 4.9 MapView.when not getting called</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcgis-js-4-9-mapview-when-not-getting-called/m-p/1501439#M84986</link>
      <description>&lt;P&gt;its been a while since you posted this. did you able to solve the issue? i also got the same problem&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;require(["esri/Map","esri/views/MapView"],(Map,MapView)=&amp;gt;{
   var map  = new Map({ basemap:"topo"});
   var view = new MapView({map:map,"container":"map"});
   view.when(()=&amp;gt;{
     alert('loaded'); //this was not being invoked.
  });
});&lt;/LI-CODE&gt;&lt;P&gt;alternately, i include center(lat/lon) and zoom level(17), but still doesnt do anything.. no request happening on networktab of chrome. but it does load the .js files.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 04 Jul 2024 04:16:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcgis-js-4-9-mapview-when-not-getting-called/m-p/1501439#M84986</guid>
      <dc:creator>Angelo_BryanPerito</dc:creator>
      <dc:date>2024-07-04T04:16:27Z</dc:date>
    </item>
  </channel>
</rss>

