Select to view content in your preferred language

Map won't pan

575
3
02-16-2011 11:41 AM
DonFreeman
Emerging Contributor
I started my project with the usual grid "LayoutRoot" containing grid "MapGrid" and everything seemed to work as expected. I then added another grid between the first two so that grid "LayoutRoot" contains grid "MainGrid" which contains grid "MapGrid". This was done so that I could wrap the entire window in a ScrollViewer. Now for some reason which I cannot figure out, I cannot pan the map, either initially upon load or after clicking the toolbar pan icon. Can someone help me figure out what happened and how to fix it?

Actually, it seems to be the scrollviewer that is the problem, cause when I comment it out, it returns to expected operation.
Thanks
0 Kudos
3 Replies
JenniferNery
Esri Regular Contributor
0 Kudos
DonFreeman
Emerging Contributor
Thanks Jenn. There seems to be a good solution to this problem. See my post on the thread you referred me to.
0 Kudos
JenniferNery
Esri Regular Contributor
Cool! Thank you for sharing that.
0 Kudos