<?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 last event to center a map in ArcGIS API for Flex Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/last-event-to-center-a-map/m-p/177387#M4161</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;My first view calls the Geolocation process. So long I have the gps location I call other view where there is a map. I need this map zoomed and centered at the gps location. Its in the right format. First I put a button in this view. After the view is loaded, I press the button and the zoom and location is set. Fine. I do not want the button, so I need the right event to set the zoom and location. All the events that I used, activate, viewactivate, map creationcompleted, the creationcompleted of the last component (a label). Neither worked. So, what is the correct event to do this?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;thx in advance&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 06 Apr 2012 11:44:46 GMT</pubDate>
    <dc:creator>DeraldoSilva</dc:creator>
    <dc:date>2012-04-06T11:44:46Z</dc:date>
    <item>
      <title>last event to center a map</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/last-event-to-center-a-map/m-p/177387#M4161</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;My first view calls the Geolocation process. So long I have the gps location I call other view where there is a map. I need this map zoomed and centered at the gps location. Its in the right format. First I put a button in this view. After the view is loaded, I press the button and the zoom and location is set. Fine. I do not want the button, so I need the right event to set the zoom and location. All the events that I used, activate, viewactivate, map creationcompleted, the creationcompleted of the last component (a label). Neither worked. So, what is the correct event to do this?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;thx in advance&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Apr 2012 11:44:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/last-event-to-center-a-map/m-p/177387#M4161</guid>
      <dc:creator>DeraldoSilva</dc:creator>
      <dc:date>2012-04-06T11:44:46Z</dc:date>
    </item>
    <item>
      <title>Re: last event to center a map</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/last-event-to-center-a-map/m-p/177388#M4162</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;@Taryon, did you try waiting until after the map load event? I don't see it listed in your post below.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A class="jive-link-external-small" href="http://help.arcgis.com/en/webapi/flex/apiref/com/esri/ags/Map.html#event:load" rel="nofollow" target="_blank"&gt;http://help.arcgis.com/en/webapi/flex/apiref/com/esri/ags/Map.html#event:load&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;-Andy&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Apr 2012 14:00:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/last-event-to-center-a-map/m-p/177388#M4162</guid>
      <dc:creator>AndyGup</dc:creator>
      <dc:date>2012-04-09T14:00:58Z</dc:date>
    </item>
    <item>
      <title>Re: last event to center a map</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/last-event-to-center-a-map/m-p/177389#M4163</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Nice!&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;worked like a charm!&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I supposed that load was one of the first events, not the last.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;thx for your attention.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Apr 2012 08:59:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/last-event-to-center-a-map/m-p/177389#M4163</guid>
      <dc:creator>DeraldoSilva</dc:creator>
      <dc:date>2012-04-10T08:59:46Z</dc:date>
    </item>
  </channel>
</rss>

