Simulate pan

969
5
Jump to solution
12-06-2016 07:07 AM
ChristopherJohnson1
Occasional Contributor II

I thought that I had seen some posts on here that simulate a pan on a map...but not actually panning on the map.  Can someone point me in the direction of some code to accomplish that task?

Setting the panDuration and then calling panUp and then panDown immediately?

Thanks...Chris

Tags (2)
0 Kudos
1 Solution

Accepted Solutions
ChristopherJohnson1
Occasional Contributor II

Hi, Robert.  This was resolved with the resolution to the other issue -- https://community.esri.com/thread/186877-feature-table-refresh .  Thanks!

View solution in original post

0 Kudos
5 Replies
RobertScheitlin__GISP
MVP Emeritus

Chris,

   What are you trying to do? Force and extent-change event?

0 Kudos
ChristopherJohnson1
Occasional Contributor II

Hi, Robert.  Yes, but map.setExtent() is not invoking the behavior that I want (updating the feature table); panning is.

Thanks...Chris

0 Kudos
RobertScheitlin__GISP
MVP Emeritus

Chris,

   What about map.setExtent(yourextent, true);

0 Kudos
ChristopherJohnson1
Occasional Contributor II

I think that I tried that, as well.  Your response to my other question may resolve this issue.  I will let you know when I try that one.

Thanks...Chris

0 Kudos
ChristopherJohnson1
Occasional Contributor II

Hi, Robert.  This was resolved with the resolution to the other issue -- https://community.esri.com/thread/186877-feature-table-refresh .  Thanks!

0 Kudos