<?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 What is the very last event for a Map? in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/what-is-the-very-last-event-for-a-map/m-p/478505#M44479</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have some code.&amp;nbsp; It is normally is OK in Chrome&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It was flaky in IE10.&amp;nbsp; The chunk that didn't work checked to see if a URL parameter was passed, if so, it set a query layer, used the passed parameter for a&amp;nbsp; query task, got the extent of the query results and set map extent to it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I had it all in my general init&amp;nbsp; function.&amp;nbsp; Most times in IE it would fail to re-draw the map.&amp;nbsp; However a slight pan would put the map in the correct place (plus the slight pan of course)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I moved this code into the onLayersAddResult event of the map.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In IE it works a lot better,but still fails about 10% of the time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Are any events after onLayersAddResult I can hook up to?&amp;nbsp; Or any other tricks to get my timing right?&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Cheers&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;ACM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 01 Dec 2014 15:44:47 GMT</pubDate>
    <dc:creator>AdrianMarsden</dc:creator>
    <dc:date>2014-12-01T15:44:47Z</dc:date>
    <item>
      <title>What is the very last event for a Map?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/what-is-the-very-last-event-for-a-map/m-p/478505#M44479</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have some code.&amp;nbsp; It is normally is OK in Chrome&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It was flaky in IE10.&amp;nbsp; The chunk that didn't work checked to see if a URL parameter was passed, if so, it set a query layer, used the passed parameter for a&amp;nbsp; query task, got the extent of the query results and set map extent to it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I had it all in my general init&amp;nbsp; function.&amp;nbsp; Most times in IE it would fail to re-draw the map.&amp;nbsp; However a slight pan would put the map in the correct place (plus the slight pan of course)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I moved this code into the onLayersAddResult event of the map.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In IE it works a lot better,but still fails about 10% of the time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Are any events after onLayersAddResult I can hook up to?&amp;nbsp; Or any other tricks to get my timing right?&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Cheers&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;ACM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Dec 2014 15:44:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/what-is-the-very-last-event-for-a-map/m-p/478505#M44479</guid>
      <dc:creator>AdrianMarsden</dc:creator>
      <dc:date>2014-12-01T15:44:47Z</dc:date>
    </item>
    <item>
      <title>Re: What is the very last event for a Map?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/what-is-the-very-last-event-for-a-map/m-p/478506#M44480</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Adrian,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Have you tried a simple setTimeout to delay execution?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Dec 2014 16:07:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/what-is-the-very-last-event-for-a-map/m-p/478506#M44480</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2014-12-01T16:07:24Z</dc:date>
    </item>
    <item>
      <title>Re: What is the very last event for a Map?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/what-is-the-very-last-event-for-a-map/m-p/478507#M44481</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Adrian,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Do you have (or can you put together) a simple test case that shows the problem? &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Dec 2014 00:49:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/what-is-the-very-last-event-for-a-map/m-p/478507#M44481</guid>
      <dc:creator>KellyHutchins</dc:creator>
      <dc:date>2014-12-02T00:49:44Z</dc:date>
    </item>
    <item>
      <title>Re: What is the very last event for a Map?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/what-is-the-very-last-event-for-a-map/m-p/478508#M44482</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Alas, along with my other timing issues I've had I've not got a public facing version - although I may have to for other reasons soon.,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Dec 2014 09:05:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/what-is-the-very-last-event-for-a-map/m-p/478508#M44482</guid>
      <dc:creator>AdrianMarsden</dc:creator>
      <dc:date>2014-12-02T09:05:02Z</dc:date>
    </item>
    <item>
      <title>Re: What is the very last event for a Map?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/what-is-the-very-last-event-for-a-map/m-p/478509#M44483</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Alternatively you could put together a simple repo case? Sometimes that helps highlight the issue and can make it easier to troubleshoot rather than trying to find the issue in a larger app. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Dec 2014 16:30:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/what-is-the-very-last-event-for-a-map/m-p/478509#M44483</guid>
      <dc:creator>KellyHutchins</dc:creator>
      <dc:date>2014-12-02T16:30:56Z</dc:date>
    </item>
  </channel>
</rss>

