<?xml version="1.0"?><?xml-stylesheet type="text/xsl" href="/rss.xsl"?><rss version="2.0"><channel><title>bingmapswpf Discussions Rss Feed</title><link>http://bingmapswpf.codeplex.com/Thread/List.aspx</link><description>bingmapswpf Discussions Rss Description</description><item><title>New Post: Tilting and rotating the map within WPF holding the CTRL key</title><link>http://bingmapswpf.codeplex.com/discussions/206829</link><description>&lt;div style="line-height: normal;"&gt;Hi,&lt;br /&gt;
&lt;br /&gt;
I had the same problem but only on one of my PCs. On the other PCs the mouse navigation with ctrl is working.&lt;br /&gt;
Sorry but I also have no solution for this.&lt;br /&gt;
&lt;/div&gt;</description><author>WWW81</author><pubDate>Wed, 22 May 2013 09:53:14 GMT</pubDate><guid isPermaLink="false">New Post: Tilting and rotating the map within WPF holding the CTRL key 20130522095314A</guid></item><item><title>New Post: Tilting and rotating the map within WPF holding the CTRL key</title><link>http://bingmapswpf.codeplex.com/discussions/206829</link><description>&lt;div style="line-height: normal;"&gt;I met the problem too, can you give me some help??&lt;br /&gt;
&lt;/div&gt;</description><author>kingbrilliant</author><pubDate>Wed, 22 May 2013 08:32:07 GMT</pubDate><guid isPermaLink="false">New Post: Tilting and rotating the map within WPF holding the CTRL key 20130522083207A</guid></item><item><title>New Post: How do you tilt while maintaining camera "focus"?</title><link>http://bingmapswpf.codeplex.com/discussions/201487</link><description>&lt;div style="line-height: normal;"&gt;it works, sorry my fault.&lt;br /&gt;
&lt;/div&gt;</description><author>kingbrilliant</author><pubDate>Tue, 21 May 2013 01:56:40 GMT</pubDate><guid isPermaLink="false">New Post: How do you tilt while maintaining camera "focus"? 20130521015640A</guid></item><item><title>New Post: How do you tilt while maintaining camera "focus"?</title><link>http://bingmapswpf.codeplex.com/discussions/201487</link><description>&lt;div style="line-height: normal;"&gt;I tried the code, but no use, can you show the full code of DoMapPivotUpDown？？&lt;br /&gt;
&lt;/div&gt;</description><author>kingbrilliant</author><pubDate>Thu, 16 May 2013 07:54:25 GMT</pubDate><guid isPermaLink="false">New Post: How do you tilt while maintaining camera "focus"? 20130516075425A</guid></item><item><title>New Post: Resize the globecontrol at runtime.</title><link>http://bingmapswpf.codeplex.com/discussions/353959</link><description>&lt;div style="line-height: normal;"&gt;
&lt;p&gt;Hi there,&lt;/p&gt;
&lt;p&gt;first of all. You made a great job!&lt;/p&gt;
&lt;p&gt;I tried to get the globecontrol resized when the size of the wpf control is changed.&lt;/p&gt;
&lt;p&gt;But every time I change something rendering stops.&lt;/p&gt;
&lt;p&gt;I need to display the globe in different sizes. From little preview window to fullscreen.&lt;/p&gt;
&lt;p&gt;The current solution with viewbox is not applicable because of the license from MS.
&lt;br&gt;
In preview the bing logo is to small and copyright isn't readable.&lt;/p&gt;
&lt;p&gt;Anyone a solutions for this problem?&lt;/p&gt;
&lt;p&gt;Greets from germany&lt;/p&gt;
&lt;/div&gt;</description><author>WWW81</author><pubDate>Sun, 29 Apr 2012 18:28:51 GMT</pubDate><guid isPermaLink="false">New Post: Resize the globecontrol at runtime. 20120429062851P</guid></item><item><title>New Post: Bing Maps 3D control has been discontinued</title><link>http://bingmapswpf.codeplex.com/discussions/248743</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;MaxSharp: According to &lt;a href="http://blogs.msdn.com/b/virtualearth3d/archive/2011/08/14/how-to-make-virtual-earth-3d-live-forever.aspx"&gt;http://blogs.msdn.com/b/virtualearth3d/archive/2011/08/14/how-to-make-virtual-earth-3d-live-forever.aspx&lt;/a&gt;&amp;nbsp;Microsoft has no plans to turn off the services required to use the Bing Maps 3D control, so the control and InfoStrat.VE should continue to work for now.&lt;/p&gt;
&lt;p&gt;thenonhacker: We were planning to make a wrapper, but there turned out to be enough incompatibilities in the models between InfoStrat.VE API and the new Bing Maps WPF API that it would not provide a lot of value since it'd be an unnecessary wrapper. If you're interested in using the 2D control, I'd recommend just using it directly. The transition from InfoStrat.VE to Bing Maps WPF is not too difficult, depending upon which features you were using.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;/div&gt;</description><author>joshb</author><pubDate>Tue, 31 Jan 2012 07:27:41 GMT</pubDate><guid isPermaLink="false">New Post: Bing Maps 3D control has been discontinued 20120131072741A</guid></item><item><title>New Post: Compliment sandwich</title><link>http://bingmapswpf.codeplex.com/discussions/285525</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;Thanks Sacha, I've copied this report to a work item but don't have an ETA for looking into it.&lt;/p&gt;&lt;/div&gt;</description><author>joshb</author><pubDate>Tue, 31 Jan 2012 07:22:04 GMT</pubDate><guid isPermaLink="false">New Post: Compliment sandwich 20120131072204A</guid></item><item><title>New Post: Compliment sandwich</title><link>http://bingmapswpf.codeplex.com/discussions/285525</link><description>&lt;div style="line-height: normal;"&gt;This discussion has been copied to a work item. Click &lt;a href="http://bingmapswpf.codeplex.com/workitem/10268"&gt;here&lt;/a&gt; to go to the work item and continue the discussion.&lt;/div&gt;</description><author>joshb</author><pubDate>Tue, 31 Jan 2012 07:21:10 GMT</pubDate><guid isPermaLink="false">New Post: Compliment sandwich 20120131072110A</guid></item><item><title>New Post: Bing Maps 3D control has been discontinued</title><link>http://bingmapswpf.codeplex.com/discussions/248743</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;Hi Josh Blake! Bing Maps WPF version 1 is official released now, and I've read from your blog that you will create an InfoStrat API Wrapper for it (2D). How's it going?&lt;/p&gt;&lt;/div&gt;</description><author>thenonhacker</author><pubDate>Wed, 18 Jan 2012 07:54:44 GMT</pubDate><guid isPermaLink="false">New Post: Bing Maps 3D control has been discontinued 20120118075444A</guid></item><item><title>New Post: Bing Maps 3D control has been discontinued</title><link>http://bingmapswpf.codeplex.com/discussions/248743</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;Any news about this ?&amp;nbsp;Do you know, when the 3D control will be stopped ?&lt;/p&gt;&lt;/div&gt;</description><author>MaxSharp</author><pubDate>Tue, 17 Jan 2012 13:03:59 GMT</pubDate><guid isPermaLink="false">New Post: Bing Maps 3D control has been discontinued 20120117010359P</guid></item><item><title>New Post: Compliment sandwich</title><link>http://bingmapswpf.codeplex.com/discussions/285525</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;Josh,&lt;/p&gt;
&lt;p&gt;This is Sacha Barber, I used this superb control in the past, and have not looked at it since. But my goodness its got so much better. I will be having to use this soon for something at work.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Just one thing. I loaded the demo project and ran both,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;DataBindingSample.VS10 &lt;/li&gt;
&lt;li&gt;WPFVEMapSample.VS10 &lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Run fine, but&amp;nbsp;when I play with the map for a while (say click on pin in&amp;nbsp;WPFVEMapSample.VS2010, then zoom in/out with mouse, then click&amp;nbsp;close (using standard windows close icon (top right)), I get cross thread error on this line&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;pre&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span&gt;if&lt;/span&gt;&amp;nbsp;(d3dImage.IsFrontBufferAvailable&amp;nbsp;&amp;amp;&amp;amp;&amp;nbsp;veSurface&amp;nbsp;!=&amp;nbsp;&lt;span&gt;IntPtr&lt;/span&gt;.Zero)&lt;br /&gt;&lt;/pre&gt;
&lt;p&gt;in VEmap.cs Here is link to screenshot :  &lt;a href="http://dl.dropbox.com/u/2600965/Blogposts/2012/InfoStratError.png" target="_blank"&gt;http://dl.dropbox.com/u/2600965/Blogposts/2012/InfoStratError.png&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;I think this may just need protected by Dispatcher.CheckAccess(), you probably know best.&lt;/p&gt;
&lt;p&gt;Anyway top job again.&lt;/p&gt;&lt;/div&gt;</description><author>sachabarber</author><pubDate>Mon, 09 Jan 2012 20:59:19 GMT</pubDate><guid isPermaLink="false">New Post: Compliment sandwich 20120109085919P</guid></item><item><title>New Post: How to add a polygon as a VEShape/pushpin</title><link>http://bingmapswpf.codeplex.com/discussions/280754</link><description>&lt;div style="line-height: normal;"&gt;
&lt;p&gt;Hello everyone,&lt;/p&gt;
&lt;p&gt;I want to add a series of code generated polygons to my VEmap. Either as VEShapes or pushpins. I have all the code to generate PolygonGeometry objects/points, but I'm not grasping on how to wrap that information inside a VEShape/pushpin.&lt;/p&gt;
&lt;p&gt;I've read some threads here on how to create a class that inherits from VEShape to achieve a similar purpose, however I need some pointers on how I can successfully do this for polygons (either Microsoft.MapPoint.Rendering3D.Utility.PolygonGeometry objects
 or some other polygon object.&lt;/p&gt;
&lt;p&gt;Can anyone help me on this? Thanks in advance&lt;/p&gt;
&lt;/div&gt;</description><author>FilloG</author><pubDate>Thu, 24 Nov 2011 18:11:56 GMT</pubDate><guid isPermaLink="false">New Post: How to add a polygon as a VEShape/pushpin 20111124061156P</guid></item><item><title>New Post: PolygonGeometry with offset?Or is it the Mouse?</title><link>http://bingmapswpf.codeplex.com/discussions/279553</link><description>&lt;div style="line-height: normal;"&gt;
&lt;p&gt;Hello everyone,&lt;/p&gt;
&lt;p&gt;On related work to my previous post ( http://bingmapswpf.codeplex.com/discussions/279548 ) I came across the weirdest situation. To avoid making a mess of my posts, and since I believe they are separate problems, I decided to create a new discussion for
 this matter.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Context:&lt;/strong&gt; Map with several polygonGeometries, some of them are intentionally overlayed (using z-index).&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Actions: &lt;/strong&gt;Click over a given polygonGeometry or trigger MouseEnter/Leave event over a given polygonGeometry.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Result:&lt;/strong&gt; The object isn't detected by the click or by the MouseEnter/Leave event, however if I apply some &amp;quot;offset&amp;quot; to my clicks/hovers over the PolygonGeometry, the events pickup the object on a &amp;quot;empty space&amp;quot; in the map, a couple of pixels
 away for the actual object.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Aditional info: &lt;/strong&gt;This behaviour goes away completely if I zoom in the object (almost to a full screen size), and starts getting worse as I zoom out. In High-level views of the map/objects it's impossible to click or hover any objects, or
 at least they don't get picked up by the events.&lt;/p&gt;
&lt;p&gt;So, right now my theory is that by some reason, in lower zoom scenarios, the map &amp;quot;missplaces&amp;quot; the polygonGeometrys (although it seems that they are drawn properly). Being the object missplaced, no shapeId/layerId are detected and thus no action over the
 event is triggered.&lt;/p&gt;
&lt;p&gt;If I could, I'd be happy to post a print-screen to ilustrate this predicament.&lt;/p&gt;
&lt;p&gt;So, I would like to know if someone has already came across this situation and how it was fixed, and/or if I'm doing something wrong on my development (check the mouse events adventure on the post mentioned in the beginning of this discussion), because this
 is on annoying problem that just doesn't go away... Any suggestion, tip or theory is most welcome!&lt;/p&gt;
&lt;p&gt;Thanks in advance for reading and helping. Sorry for any bad english,&lt;/p&gt;
&lt;p&gt;-RG&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;/div&gt;</description><author>FilloG</author><pubDate>Tue, 15 Nov 2011 19:30:47 GMT</pubDate><guid isPermaLink="false">New Post: PolygonGeometry with offset?Or is it the Mouse? 20111115073047P</guid></item><item><title>New Post: Proper way to enable mouse events on PolygonGeometry?</title><link>http://bingmapswpf.codeplex.com/discussions/279548</link><description>&lt;div style="line-height: normal;"&gt;
&lt;p&gt;Hello everyone,&lt;/p&gt;
&lt;p&gt;I've looked through the discussions, but I wasn't able to find an answer for this :( My problem is explained below.&lt;/p&gt;
&lt;p&gt;For various reasons I'm generating a number of polygonGeometries and I'm placing those geometries on my map (unavoidable requirement, since they are drawn using coordinate data from a database), using:&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;div style="color:black; background-color:white"&gt;
&lt;pre&gt;.Host.Geometry.AddGeometry(poly);

&lt;/pre&gt;
&lt;/div&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;This procedure works perfectly, as all items are properly generated and placed on the map. I also need however that the generated polygons respond to mouse click and MouseEnter/MouseLeave events.&lt;/p&gt;
&lt;p&gt;I wasn't able to find any way to attach the events to the PolygonGeometry objects or to the Worldgeometry objects, so after digging a bit in the documentation, I found this procedure to enable events over the map:&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;div style="color:black; background-color:white"&gt;
&lt;pre&gt;Host.CommunicationManager.AttachToEvent(EngineEvents.Group, EngineEvents.OnMouseDown,&lt;span style="color:#a31515"&gt;&amp;quot;MouseDown&amp;quot;&lt;/span&gt;,MouseDown);
 
&lt;/pre&gt;
&lt;/div&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Although this approach works and I can indeed trigger events over the map, I don't feel this should be the proper way, since the &amp;quot;listener&amp;quot; for those events aren't the objects, but the globe it self. So, on the handler object from the event I get a set of
 data that lets me know what was clicked (shapeId, layerId) and where (latitude, longitude), among other things,&amp;nbsp; forcing me to implement all sorts of ways to figure out which polygon (if any) was the target for the event and only then perform the desired
 action.&lt;/p&gt;
&lt;p&gt;In a nutshell, when the event is raised, all I get is general information about what was clicked, I then have to fetch the object in order to perform whatever actions I need for a given event.&lt;/p&gt;
&lt;p&gt;So, in spite of everythting is working, I can't help the feeling that I'm overcomplicating something that should be simpler.&lt;/p&gt;
&lt;p&gt;So, I decided to approach this discussion and ask you guys:&lt;/p&gt;
&lt;p&gt;-What is the proper way to enable/attach mouse events on PolygonGeometry?&lt;/p&gt;
&lt;p&gt;And for a bonus question:&lt;/p&gt;
&lt;p&gt;-Am I using the proper procedure to create the PolygonGeometries?&lt;/p&gt;
&lt;p&gt;Thanks in advance for helping and I'm sorry for any misspellings (english is my third language),&lt;/p&gt;
&lt;p&gt;-RG&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;div id="_mcePaste" style="left:-10000px; top:0px; width:1px; height:1px; overflow:hidden"&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; geCont.Host.Geometry.AddGeometry(poly);&lt;br&gt;
&lt;div style="color:black; background-color:white"&gt;
&lt;pre&gt;geCont.Host.Geometry.AddGeometry(poly);

&lt;/pre&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;</description><author>FilloG</author><pubDate>Tue, 15 Nov 2011 19:04:40 GMT</pubDate><guid isPermaLink="false">New Post: Proper way to enable mouse events on PolygonGeometry? 20111115070440P</guid></item><item><title>New Post: Compass Control</title><link>http://bingmapswpf.codeplex.com/discussions/277934</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;Thanks! This helps.&lt;/p&gt;&lt;/div&gt;</description><author>vizzr</author><pubDate>Wed, 02 Nov 2011 15:35:32 GMT</pubDate><guid isPermaLink="false">New Post: Compass Control 20111102033532P</guid></item><item><title>New Post: Getting started</title><link>http://bingmapswpf.codeplex.com/discussions/66557</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;@joshb: if you have a SurfaceInkCanvas on top of a SurfaceMap and want to have some transformations on the InkCanvas because of touch input: is there no way to do that? If I set IsHitTestVisible to false, but InkMode is none then I get none of the touch inputs? Is there a way to capture the events outside of InkMode and then not have them handled so they can be captured by the Maps Control? I must have missed something but I figured someone here would definitely know!&lt;/p&gt;
&lt;p&gt;Thanks!&lt;/p&gt;&lt;/div&gt;</description><author>vizzr</author><pubDate>Wed, 02 Nov 2011 15:34:55 GMT</pubDate><guid isPermaLink="false">New Post: Getting started 20111102033455P</guid></item><item><title>New Post: Compass Control</title><link>http://bingmapswpf.codeplex.com/discussions/277934</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;The InfoStrat.VE control does not have a compass, but it shouldn't be too difficult to make one yourself. All you'd need to do it listen to the CameraChanged event and then check the map.Yaw property to know which direction the camera is turned. You can use the yaw value to create a RotateTransform on your compass visualization.&lt;/p&gt;&lt;/div&gt;</description><author>joshb</author><pubDate>Tue, 01 Nov 2011 21:27:52 GMT</pubDate><guid isPermaLink="false">New Post: Compass Control 20111101092752P</guid></item><item><title>New Post: Compass Control</title><link>http://bingmapswpf.codeplex.com/discussions/277934</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;I did find the Navigation plug-in from Microsoft Maps, but would like to find something where I have a little more control over how the control shows up (view) and maybe remove some of the un-needed features. I just want the compass part.&lt;/p&gt;&lt;/div&gt;</description><author>vizzr</author><pubDate>Tue, 01 Nov 2011 21:03:24 GMT</pubDate><guid isPermaLink="false">New Post: Compass Control 20111101090324P</guid></item><item><title>New Post: Compass Control</title><link>http://bingmapswpf.codeplex.com/discussions/277934</link><description>&lt;div style="line-height: normal;"&gt;
&lt;p&gt;I looked through InfoStrat but must be missing something: does InfoStrat come with a Compass Control or some visualization for showing N-S direction?&lt;/p&gt;
&lt;p&gt;Thanks!&lt;/p&gt;
&lt;/div&gt;</description><author>vizzr</author><pubDate>Tue, 01 Nov 2011 20:12:01 GMT</pubDate><guid isPermaLink="false">New Post: Compass Control 20111101081201P</guid></item><item><title>New Post: Offline rendering</title><link>http://bingmapswpf.codeplex.com/discussions/273190</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;Howdy - I need to use the map on a system that will never hit the internet, and I've followed the "unchaining" process from &lt;a href="http://blogs.msdn.com/b/virtualearth3d/archive/2011/08/14/how-to-make-virtual-earth-3d-live-forever.aspx"&gt; here &lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Using the example WinForms app from the link above, moving my Tile Cache folder to the system with tiles works great. What isn't great is that when I introduce Infostrat.VE to the mix, I can't render anything to the screen. I'm using the DataBindingSample&lt;/p&gt;
&lt;p&gt;I've traced the problem down to the LocationChanged method of RegisteredPosition (an ILocationListener) never being called. I can even get things to render if I modify LatLongToPointInternal to ignore invalid registered positions.&lt;/p&gt;
&lt;p&gt;This, of course, introduces another problem: one where invalid locations (for pushpins in this case) still render to the map. I could solve this by enforcing bounds to all location objects (LatLonAlt, LatLon , VELatLong, etc...) but would rather try to figure  out why LocationChanged is never being called on this offline system.&lt;/p&gt;&lt;/div&gt;</description><author>banana989</author><pubDate>Tue, 20 Sep 2011 13:29:37 GMT</pubDate><guid isPermaLink="false">New Post: Offline rendering 20110920012937P</guid></item></channel></rss>