Compass Control

Nov 1, 2011 at 9:12 PM

I looked through InfoStrat but must be missing something: does InfoStrat come with a Compass Control or some visualization for showing N-S direction?

Thanks!

Nov 1, 2011 at 10:03 PM

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.

Coordinator
Nov 1, 2011 at 10:27 PM

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.

Nov 2, 2011 at 4:35 PM

Thanks! This helps.