Welcome to MSDN Blogs Sign in | Join | Help

A Deep Zoom Blog

Tales of Deep Zoom, creating interesting apps in Silverlight with Deep Zoom, cool new ways to present information
Electoral Map

This isn't meant to be a political page, however - Dan Cory has made this great example of a map of the united states, with two states - one the way the political map looks with appropriate coloration by vote, and one where the size is determined by the number of electoral votes each state has.

Press the re-arrange button to switch between the "normal" map view, and a view where the states are sized by electoral vote.

Click below to start the app in a separate window.

States

How is this done? At a high level, there are two layout files. One that contains the layout you see in the image above, and one that contains the layout by electoral vote. Each state is an individual image, and each image is part of a collection.

Then there is an animation that interpolates ViewportWidth and ViewportOrigin for each image between the layouts.

Posted: Tuesday, December 02, 2008 11:46 AM by lutzg

Comments

Kenny said:

Cue complaints from Alaska natives that Alaksa is always represented as much smaller than it actually is in 3.. 2.. 1..

# December 16, 2008 4:52 AM
Leave a Comment

(required) 

(required) 

(optional)

(required) 

  
Enter Code Here: Required

Comment Notification

If you would like to receive an email when updates are made to this post, please register here

Subscribe to this post's comments using RSS

Page view tracker