Dual view question

549
2
12-11-2011 10:57 AM
DainiusTamosiunas
New Contributor III
Hello,

I need to make something like this http://www.gisdoctor.com/v3/dual_census.html

I would be grateful for any starting tips and suggestions. Thanks in advance.
0 Kudos
2 Replies
StephenLead
Regular Contributor III
A starting tip is to set a listener for the onExtentChange event on the first map.

When this extent changes, update the second map's extent to match the first map's extent. Repeat in the reverse order so the second map updates the first map.

You might run into some problems with recursive/repeated calling of these events, where map 1 calls map 2, which then calls map 1 again repeatedly - you may need to disable the listeners temporarily while updating each map's extent.
0 Kudos
JohnGrayson
Esri Regular Contributor
There are several 'sidd-by-side' Web Application Templates on ArcGIS.com that you could check out.  Here's the link to one of them: Side by Side Viewer
0 Kudos