<?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 Preload Map in Angular Ionic? in ArcGIS Server with JavaScript API Questions</title>
    <link>https://community.esri.com/t5/arcgis-server-with-javascript-api-questions/preload-map-in-angular-ionic/m-p/784094#M198</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm working on an Angular, Ionic, ESRI application that shows EV charge stations on a map. I have a view that displays the map with feature layer of charge stations. I have another view that displays a list of charge stations pulled from the graphics property of the feature layer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My problem is that the list of charge stations is empty until the map view loads, because that's when the feature layer loads (using angular-esri directives). If I select the menu item to load the map view first, then navigate to the view that displays the charge station list, the list values are available and everything displays fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I preload the map and feature layer perhaps on application start? Or what other ways can I load the data?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I can't figure it out, I have a workaround, which is to make a separate request out to the REST API feature service to get the values, but I don't want to make that extra call since the data is available when the map is loaded.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 08 Aug 2016 05:09:07 GMT</pubDate>
    <dc:creator>DanielPascual</dc:creator>
    <dc:date>2016-08-08T05:09:07Z</dc:date>
    <item>
      <title>Preload Map in Angular Ionic?</title>
      <link>https://community.esri.com/t5/arcgis-server-with-javascript-api-questions/preload-map-in-angular-ionic/m-p/784094#M198</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm working on an Angular, Ionic, ESRI application that shows EV charge stations on a map. I have a view that displays the map with feature layer of charge stations. I have another view that displays a list of charge stations pulled from the graphics property of the feature layer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My problem is that the list of charge stations is empty until the map view loads, because that's when the feature layer loads (using angular-esri directives). If I select the menu item to load the map view first, then navigate to the view that displays the charge station list, the list values are available and everything displays fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I preload the map and feature layer perhaps on application start? Or what other ways can I load the data?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I can't figure it out, I have a workaround, which is to make a separate request out to the REST API feature service to get the values, but I don't want to make that extra call since the data is available when the map is loaded.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Aug 2016 05:09:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-server-with-javascript-api-questions/preload-map-in-angular-ionic/m-p/784094#M198</guid>
      <dc:creator>DanielPascual</dc:creator>
      <dc:date>2016-08-08T05:09:07Z</dc:date>
    </item>
  </channel>
</rss>

