Thursday, January 08, 2009

Using Virtual Earth on Surface

I still haven't got the actual unit, but it should be somewhere between Germany and our office. Maybe today?

In the mean while I found http://blogs.msdn.com/publicsector/archive/2008/06/24/wpf-and-virtual-earth-revisited.aspx. This is an example on how to use virtual earth in a (proper) user control.

This helps a lot, as it will make virtual earth a 'normal' control. And it is now also pretty easy to use it on the surface unit (or at least the simulator). For our demo stages, this is good enough.

O the wonders of the work of others...

Bye,

Bart

3 comments:

Richard Monson-Haefel said...

That control is problematic on the Surface because of Z ordering. I looking at using the .NET controls for the virtual earth application directory. You need to import the proper Dlls and that is supposed to expose the .net control directly. I have not done this yet but I thought I would make you aware of it.

Bart Roozendaal said...

I got it working (on the simulator that is) pretty much without changing anything to the code in mentioned control. The Surface controls are nicely displayed on top of the map.

I will have to check when the surface unit arrives and look at it on the real thing.

I will then pick this up again, because of course I want some interaction with the map from the surface unit.

Bart Roozendaal said...

I got it working (on the simulator that is) pretty much without changing anything to the code in mentioned control. The Surface controls are nicely displayed on top of the map.

I will have to check when the surface unit arrives and look at it on the real thing.

I will then pick this up again, because of course I want some interaction with the map from the surface unit.