Select to view content in your preferred language

Looking for synchronous map view source code

769
2
Jump to solution
05-22-2012 12:12 PM
LeiZhou
Deactivated User
I am looking for a source code as below or similar to that. 

http://changematters.esri.com/compare

That can an synchronous view for two or three map panels.  ESRI had one online before, but I can not find it. Does any one still have the code or know where I can find it?  The question can be also which API function I should use to create this function? Thanks a lot!
Tags (2)
0 Kudos
1 Solution

Accepted Solutions
RobertScheitlin__GISP
MVP Emeritus
Lei,

   I don't have that source code but this can easily be done using event listeners. Just listen for the maps extentChange event and the panEnd event on each map and update the extent of the other maps to be the extent of the map that dispatched the event.

View solution in original post

0 Kudos
2 Replies
RobertScheitlin__GISP
MVP Emeritus
Lei,

   I don't have that source code but this can easily be done using event listeners. Just listen for the maps extentChange event and the panEnd event on each map and update the extent of the other maps to be the extent of the map that dispatched the event.
0 Kudos
LeiZhou
Deactivated User
Thanks! I will try that...

Lei,

   I don't have that source code but this can easily be done using event listeners. Just listen for the maps extentChange event and the panEnd event on each map and update the extent of the other maps to be the extent of the map that dispatched the event.
0 Kudos