<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:media="http://search.yahoo.com/mrss/" xmlns:evnet="http://www.mscommunities.com/rssmodule/"><channel><title>Comment Feed for Using Virtual Earth in a WPF Application (keydet on Channel 9)</title><atom:link rel="self" type="application/rss+xml" href="http://channel9.msdn.com/posts/keydet/using-virtual-earth-in-a-wpf-application/rss/default.aspx" /><image><url>http://mschnlnine.vo.llnwd.net/d1/Dev/App_Themes/C9/images/feedimage.png</url><title>Comment Feed for Using Virtual Earth in a WPF Application (keydet on Channel 9)</title><link>http://channel9.msdn.com/posts/keydet/Using-Virtual-Earth-in-a-WPF-Application/</link></image><description>Using Virtual Earth in a WPF Application</description><link>http://channel9.msdn.com/posts/keydet/Using-Virtual-Earth-in-a-WPF-Application/</link><language>en-us</language><pubDate>Tue, 23 Sep 2008 23:50:41 GMT</pubDate><lastBuildDate>Tue, 23 Sep 2008 23:50:41 GMT</lastBuildDate><generator>EvNet (EvNet, Version=1.0.3243.35083, Culture=neutral, PublicKeyToken=null)</generator><item><title>Re: Using Virtual Earth in a WPF Application</title><description>i'm getting javascript errors when i click the "Birds-eye" view (line 41, char 13, "Input string was not the correct format"), so i just thought i'd bring up the question of debugging the script inside a WPF host app - can it be done? &lt;br /&gt;</description><comments></comments><link>http://channel9.msdn.com/posts/keydet/Using-Virtual-Earth-in-a-WPF-Application/?CommentID=429241</link><pubDate>Tue, 23 Sep 2008 23:50:41 GMT</pubDate><guid isPermaLink="false">http://channel9.msdn.com/posts/keydet/Using-Virtual-Earth-in-a-WPF-Application/?CommentID=429241</guid><evnet:views>0</evnet:views><evnet:viewtrackingurl>http://channel9.msdn.com/429241/WebViewBug.aspx?EVT=0</evnet:viewtrackingurl><evnet:previewtext>i'm getting javascript errors when i click the "Birds-eye" view (line 41, char 13, "Input string was not the correct format"), so i just thought i'd bring up the question of debugging the script inside a WPF host app - can it be done? </evnet:previewtext><dc:creator>recombinant</dc:creator><slash:comments>0</slash:comments><wfw:commentRss></wfw:commentRss><trackback:ping>http://channel9.msdn.com/429241/Trackback.aspx</trackback:ping></item><item><title>Re: Using Virtual Earth in a WPF Application</title><description>Thanks for your insight. That takes me back to using Silverlight with the VE map inside the web browser control. Unfortunately you lose Drag-n-Drop between Silverlight and the WPF app; as well as some databinding and pure managed code events. Not to mention the XAML would need to reside in the VE map control project, not the WPF app.</description><comments></comments><link>http://channel9.msdn.com/posts/keydet/Using-Virtual-Earth-in-a-WPF-Application/?CommentID=413072</link><pubDate>Tue, 01 Jul 2008 14:54:02 GMT</pubDate><guid isPermaLink="false">http://channel9.msdn.com/posts/keydet/Using-Virtual-Earth-in-a-WPF-Application/?CommentID=413072</guid><evnet:views>0</evnet:views><evnet:viewtrackingurl>http://channel9.msdn.com/413072/WebViewBug.aspx?EVT=0</evnet:viewtrackingurl><evnet:previewtext>Thanks for your insight. That takes me back to using Silverlight with the VE map inside the web browser control. Unfortunately you lose Drag-n-Drop between Silverlight and the WPF app; as well as some databinding and pure managed code events. Not to mention the XAML would need to reside in the VE&amp;#8230;</evnet:previewtext><dc:creator>AppStar08</dc:creator><slash:comments>0</slash:comments><wfw:commentRss></wfw:commentRss><trackback:ping>http://channel9.msdn.com/413072/Trackback.aspx</trackback:ping></item><item><title>Re: Using Virtual Earth in a WPF Application</title><description>&lt;p&gt;I actually had WPF pushpins originally, but chose not to go that route.&amp;nbsp; That's not to say you couldn't.&amp;nbsp; In fact, I actually use an invisible (Opacity=".01") WPF button over the pushpin rendered by the map.&amp;nbsp; That's how I chose to implement the ability to hover over the pushpin and get a WPF InfoBox (implemented as a UserControl).&amp;nbsp; If you really want to have WPF based pushpins, just comment out line 387 in VEMap and comment out line 401 which is the call telling VE to add the pushpin.&lt;/p&gt;
&lt;p&gt;I chose not to use WPF pushpins for two reasons.&amp;nbsp; First, it seemed like overkill to render such a small UI element as a vector graphic since pushpins are typically fixed width and height.&amp;nbsp; Second, due to the delay in event notification between JavaScript &amp;amp; managed code, the repositioning of the pushpins is a little “jerky.”&amp;nbsp; So I am a bigger fan of drawing your pushpins with a vector drawing tool, and then saving them as bitmaps.&amp;nbsp; You get the same visual experience with better overall perf.&amp;nbsp; Your mileage may vary.&lt;/p&gt;</description><comments></comments><link>http://channel9.msdn.com/posts/keydet/Using-Virtual-Earth-in-a-WPF-Application/?CommentID=413065</link><pubDate>Tue, 01 Jul 2008 14:27:51 GMT</pubDate><guid isPermaLink="false">http://channel9.msdn.com/posts/keydet/Using-Virtual-Earth-in-a-WPF-Application/?CommentID=413065</guid><evnet:views>0</evnet:views><evnet:viewtrackingurl>http://channel9.msdn.com/413065/WebViewBug.aspx?EVT=0</evnet:viewtrackingurl><evnet:previewtext>I actually had WPF pushpins originally, but chose not to go that route.&amp;nbsp; That's not to say you couldn't.&amp;nbsp; In fact, I actually use an invisible (Opacity=".01") WPF button over the pushpin rendered by the map.&amp;nbsp; That's how I chose to implement the ability to hover over the pushpin and&amp;#8230;</evnet:previewtext><dc:creator>keydet</dc:creator><slash:comments>0</slash:comments><wfw:commentRss></wfw:commentRss><trackback:ping>http://channel9.msdn.com/413065/Trackback.aspx</trackback:ping></item><item><title>Re: Using Virtual Earth in a WPF Application</title><description>Great Screencast!&lt;br /&gt;&lt;br /&gt;I played around with Virtual Earth and WPF a while back but ran into Z-Order and DOM issues. Looks like the latest version of the WPF browser control and your "layered window trickery" solves most of the issues.&lt;br /&gt;&lt;br /&gt;However, I think the real power in&amp;nbsp;doing something like this would be XAML pushpins with dynamic colors and numbers.&amp;nbsp;I imagine just keeping the hidden top layer buttons visible and using a small transparent gif for the ve pushpin would do it. You'd lose the pushpin mouseover but I guess you could use the button mouseover event at that point.&amp;nbsp;A custom dashboard would be needed to prevent the XAML buttons from covering it as well.&amp;nbsp;&amp;nbsp;Any other thoughts? Thanks!</description><comments></comments><link>http://channel9.msdn.com/posts/keydet/Using-Virtual-Earth-in-a-WPF-Application/?CommentID=412856</link><pubDate>Mon, 30 Jun 2008 18:55:33 GMT</pubDate><guid isPermaLink="false">http://channel9.msdn.com/posts/keydet/Using-Virtual-Earth-in-a-WPF-Application/?CommentID=412856</guid><evnet:views>0</evnet:views><evnet:viewtrackingurl>http://channel9.msdn.com/412856/WebViewBug.aspx?EVT=0</evnet:viewtrackingurl><evnet:previewtext>Great Screencast!I played around with Virtual Earth and WPF a while back but ran into Z-Order and DOM issues. Looks like the latest version of the WPF browser control and your "layered window trickery" solves most of the issues.However, I think the real power in&amp;nbsp;doing something like this would&amp;#8230;</evnet:previewtext><dc:creator>AppStar08</dc:creator><slash:comments>0</slash:comments><wfw:commentRss></wfw:commentRss><trackback:ping>http://channel9.msdn.com/412856/Trackback.aspx</trackback:ping></item></channel></rss>