<?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 to trigger map pan event in programmatically? in ArcGIS API for Flex Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/how-to-trigger-map-pan-event-in-programmatically/m-p/135093#M3162</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;hmmm...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;just set new map center &lt;/SPAN&gt;&lt;A href="http://resources.arcgis.com/en/help/flex-api/apiref/com/esri/ags/Map.html#centerAt()"&gt;map.centerAt()&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 05 Nov 2012 12:44:44 GMT</pubDate>
    <dc:creator>IvanBespalov</dc:creator>
    <dc:date>2012-11-05T12:44:44Z</dc:date>
    <item>
      <title>how to trigger map pan event in programmatically?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/how-to-trigger-map-pan-event-in-programmatically/m-p/135089#M3158</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I add a feature layer to map. Instead of listening for click, I listen for mouse down and mouse move. In the down handler, I add a listener for mouse up. In the move handler, remove the listener for mouse up. In the mouse up handler do what I want to do. This way if they mouse down and then move before the mouse up, my up handler won't be called. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Now the problem is: after mouse down and then move, there is nothing will happen. If I want to trigger the map pan event as normal, how can I do it? Thanks in advance!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 03 Nov 2012 18:37:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/how-to-trigger-map-pan-event-in-programmatically/m-p/135089#M3158</guid>
      <dc:creator>XintaoLiu</dc:creator>
      <dc:date>2012-11-03T18:37:03Z</dc:date>
    </item>
    <item>
      <title>Re: how to trigger map pan event in programmatically?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/how-to-trigger-map-pan-event-in-programmatically/m-p/135090#M3159</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Any of your reply and suggestion is highly anticipated and appreciated!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 04 Nov 2012 17:43:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/how-to-trigger-map-pan-event-in-programmatically/m-p/135090#M3159</guid>
      <dc:creator>XintaoLiu</dc:creator>
      <dc:date>2012-11-04T17:43:28Z</dc:date>
    </item>
    <item>
      <title>Re: how to trigger map pan event in programmatically?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/how-to-trigger-map-pan-event-in-programmatically/m-p/135091#M3160</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;All functions and events you need are in &lt;/SPAN&gt;&lt;A href="http://resources.arcgis.com/en/help/flex-api/apiref/com/esri/ags/Map.html"&gt;Map &lt;/A&gt;&lt;SPAN&gt;class:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://resources.arcgis.com/en/help/flex-api/apiref/com/esri/ags/Map.html#panDown()"&gt;panDown()&lt;/A&gt;&lt;BR /&gt;&lt;A href="http://resources.arcgis.com/en/help/flex-api/apiref/com/esri/ags/Map.html#panLeft()"&gt;panLeft()&lt;/A&gt;&lt;BR /&gt;&lt;A href="http://resources.arcgis.com/en/help/flex-api/apiref/com/esri/ags/Map.html#panRight()"&gt;panRight()&lt;/A&gt;&lt;BR /&gt;&lt;A href="http://resources.arcgis.com/en/help/flex-api/apiref/com/esri/ags/Map.html#panUp()"&gt;panUp()&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt;+ 4&amp;nbsp; pan functions...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://resources.arcgis.com/en/help/flex-api/apiref/com/esri/ags/Map.html#event: panStart"&gt;event: panStart - com.esri.ags.events.PanEvent.PAN_START&lt;/A&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Fires when a user commences panning.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;A href="http://resources.arcgis.com/en/help/flex-api/apiref/com/esri/ags/Map.html#event:panUpdate"&gt;event: panUpdate - com.esri.ags.events.PanEvent.PAN_UPDATE&lt;/A&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Fires during the pan process.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;A href="http://resources.arcgis.com/en/help/flex-api/apiref/com/esri/ags/Map.html#event:panEnd"&gt;event: panEnd - com.esri.ags.events.PanEvent.PAN_END&lt;/A&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Fires when the pan is complete.&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Nov 2012 04:36:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/how-to-trigger-map-pan-event-in-programmatically/m-p/135091#M3160</guid>
      <dc:creator>IvanBespalov</dc:creator>
      <dc:date>2012-11-05T04:36:14Z</dc:date>
    </item>
    <item>
      <title>Re: how to trigger map pan event in programmatically?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/how-to-trigger-map-pan-event-in-programmatically/m-p/135092#M3161</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks for your reply! My problem is: after mouse down and then move, how to trigger the PanEvent of map, not just pan up/down/left/right. That is, how to start pan map in a freehand manner. Thank you again.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Nov 2012 12:27:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/how-to-trigger-map-pan-event-in-programmatically/m-p/135092#M3161</guid>
      <dc:creator>XintaoLiu</dc:creator>
      <dc:date>2012-11-05T12:27:18Z</dc:date>
    </item>
    <item>
      <title>Re: how to trigger map pan event in programmatically?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/how-to-trigger-map-pan-event-in-programmatically/m-p/135093#M3162</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;hmmm...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;just set new map center &lt;/SPAN&gt;&lt;A href="http://resources.arcgis.com/en/help/flex-api/apiref/com/esri/ags/Map.html#centerAt()"&gt;map.centerAt()&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Nov 2012 12:44:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/how-to-trigger-map-pan-event-in-programmatically/m-p/135093#M3162</guid>
      <dc:creator>IvanBespalov</dc:creator>
      <dc:date>2012-11-05T12:44:44Z</dc:date>
    </item>
    <item>
      <title>Re: how to trigger map pan event in programmatically?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/how-to-trigger-map-pan-event-in-programmatically/m-p/135094#M3163</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;hmmm...&lt;BR /&gt;&lt;BR /&gt;just set new map center &lt;A href="http://resources.arcgis.com/en/help/flex-api/apiref/com/esri/ags/Map.html#centerAt()"&gt;map.centerAt()&lt;/A&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you so much for your help and patience! What I mean is, when you click on map and move your mouse, the map is being panned continuously, not just CenterAt somewhere. I want to trigger the PanEvent in a freehand manner. I am not sure whether I am clear, but if not, I can explain again. I really appreciate your reply.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Nov 2012 12:59:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/how-to-trigger-map-pan-event-in-programmatically/m-p/135094#M3163</guid>
      <dc:creator>XintaoLiu</dc:creator>
      <dc:date>2012-11-05T12:59:12Z</dc:date>
    </item>
    <item>
      <title>Re: how to trigger map pan event in programmatically?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/how-to-trigger-map-pan-event-in-programmatically/m-p/135095#M3164</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'm not sure what you're trying to do exactly, but could you just listen for the mapClick event since it also doesn't fire if you start panning the map:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://resources.arcgis.com/en/help/flex-api/apiref/com/esri/ags/Map.html#event:mapClick"&gt;http://resources.arcgis.com/en/help/flex-api/apiref/com/esri/ags/Map.html#event:mapClick&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Nov 2012 18:54:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/how-to-trigger-map-pan-event-in-programmatically/m-p/135095#M3164</guid>
      <dc:creator>DasaPaddock</dc:creator>
      <dc:date>2012-11-05T18:54:19Z</dc:date>
    </item>
    <item>
      <title>Re: how to trigger map pan event in programmatically?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/how-to-trigger-map-pan-event-in-programmatically/m-p/135096#M3165</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;I'm not sure what you're trying to do exactly, but could you just listen for the mapClick event since it also doesn't fire if you start panning the map:&lt;BR /&gt;&lt;A href="http://resources.arcgis.com/en/help/flex-api/apiref/com/esri/ags/Map.html#event:mapClick"&gt;http://resources.arcgis.com/en/help/flex-api/apiref/com/esri/ags/Map.html#event:mapClick&lt;/A&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;It is my privilege to have your suggestions! I appreciate that! Finally I got an online live example showing what my question is:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://resources.esri.com/help/9.3/arcgisserver/apis/flex/samples/index.html?sample=QueryClickInfoWindow"&gt;http://resources.esri.com/help/9.3/arcgisserver/apis/flex/samples/index.html?sample=QueryClickInfoWindow&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you click on map, you will see a highlighted red area. If you click on the area, you will get an info window. BUT, if you click on the area and move your mouse, there is no response at all! What I am trying to do is: when you click on the area and move your mouse, then you can pan the map! Just like you pan the map on other un-clicked areas! Thank you for your patience.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Nov 2012 13:18:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/how-to-trigger-map-pan-event-in-programmatically/m-p/135096#M3165</guid>
      <dc:creator>XintaoLiu</dc:creator>
      <dc:date>2012-11-06T13:18:09Z</dc:date>
    </item>
    <item>
      <title>Re: how to trigger map pan event in programmatically?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/how-to-trigger-map-pan-event-in-programmatically/m-p/135097#M3166</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;See:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A class="jive-link-external-small" href="http://resources.arcgis.com/en/help/flex-api/apiref/com/esri/ags/Graphic.html#checkForMouseListeners" rel="nofollow" target="_blank"&gt;http://resources.arcgis.com/en/help/flex-api/apiref/com/esri/ags/Graphic.html#checkForMouseListeners&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Nov 2012 16:38:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/how-to-trigger-map-pan-event-in-programmatically/m-p/135097#M3166</guid>
      <dc:creator>DasaPaddock</dc:creator>
      <dc:date>2012-11-06T16:38:09Z</dc:date>
    </item>
    <item>
      <title>Re: how to trigger map pan event in programmatically?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/how-to-trigger-map-pan-event-in-programmatically/m-p/135098#M3167</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;See:&lt;BR /&gt;&lt;A href="http://resources.arcgis.com/en/help/flex-api/apiref/com/esri/ags/Graphic.html#checkForMouseListeners"&gt;http://resources.arcgis.com/en/help/flex-api/apiref/com/esri/ags/Graphic.html#checkForMouseListeners&lt;/A&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank all you guys and your kind help! I think it is the right thing I am looking for. I will try it and get back! Thank you!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Nov 2012 20:53:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/how-to-trigger-map-pan-event-in-programmatically/m-p/135098#M3167</guid>
      <dc:creator>XintaoLiu</dc:creator>
      <dc:date>2012-11-06T20:53:40Z</dc:date>
    </item>
  </channel>
</rss>

