PointerMoved event not firing on MapControl when in 3D view

130 views Asked by At

PointerMoved event is not firing when MapControl is 3D view, but when back to 2D or zenithal view is firing again.

When on zenithal view, event is fired whenever the mouse is moved over the map control.

When in 3D view, event is only fired when the mouse is moved over some image controls that are placed on the map. Moving over the map doesn't fire the event.

I don't know why is not firing or what is preventing to firing if it is caused by my code (in that case, what can be the cause?).

1

There are 1 answers

0
Geordie On

If the transparent overlay solution causes issues could roll-your-own using a timer and getting the pointer position directly:

var pointerPosition = Windows.UI.Core.CoreWindow.GetForCurrentThread().PointerPosition;

See this question for details.

Timer would compute the pointer position delta per tick and if it's above a threshold trigger an event.