Select to view content in your preferred language

Map Pan Sensitivity

793
3
Jump to solution
05-21-2013 11:35 AM
IsaiahAguilera
Frequent Contributor
Hello,
I have a map in a mobile flex application and a infowindow that shows when I click on certain features. This all works fine but my issue is when I click on a feature the map pans slightly any time I tap the map it pans just a little bit. Is there a sensitivity setting or something entirely different I am missing? Any help would be great! thanks
Tags (2)
0 Kudos
1 Solution

Accepted Solutions
IsaiahAguilera
Frequent Contributor
I fixed my problem.  Since there is no sensitivity settings in the map component I had to get creative. I switch the panEnabled to false by default and added a mouseMove listener and have it switch to panEnabled true when it gets moved and back to false on mouseUp.  Not ideal but at least this way I can click on the map without having the map pan.  If anyone has a better way they can think of I am open to suggestions.

Thanks,

View solution in original post

0 Kudos
3 Replies
AnthonyGiles
Honored Contributor
Isaiah,

Not sure if it will have any effect but have you tried setting the panEasingFactor property:

http://resources.arcgis.com/en/help/flex-api/apiref/index.html

Regards

Anthony
0 Kudos
IsaiahAguilera
Frequent Contributor
I have tried that but It doesn't seem to have any effect.  I am starting to think there is not an easy way to do this. Thanks for the help by the way.
0 Kudos
IsaiahAguilera
Frequent Contributor
I fixed my problem.  Since there is no sensitivity settings in the map component I had to get creative. I switch the panEnabled to false by default and added a mouseMove listener and have it switch to panEnabled true when it gets moved and back to false on mouseUp.  Not ideal but at least this way I can click on the map without having the map pan.  If anyone has a better way they can think of I am open to suggestions.

Thanks,
0 Kudos