Select to view content in your preferred language

Animating a Envelope in a layer

682
2
05-31-2010 11:23 AM
centuitcentuit
Emerging Contributor
Does anyone know how to dynamiclly animate the change of an envelope in a layer.
I am trying to use a Storyboard in code behind to animate a layer moving from one lat/lon to another lat/lon

Any ideas ?

Thanks
0 Kudos
2 Replies
dotMorten_esri
Esri Notable Contributor
The Silverlight animation objects doesn't support animating the geometry.
The simplest way is to create a DispatcherTimer, make it trigger fairly frequent (30-60/sec) and update the properties of the envelope.
0 Kudos
wangzhifang
Frequent Contributor
Hope some days silverlight could allow animation applys to DependencyObject, so a graphic would take advantage of a storyboard in animation.
0 Kudos