Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Map MouseMove converted in PointerMoved is not working #2

Open
RomeoPavoni opened this issue Oct 5, 2015 · 2 comments
Open

Map MouseMove converted in PointerMoved is not working #2

RomeoPavoni opened this issue Oct 5, 2015 · 2 comments

Comments

@RomeoPavoni
Copy link

Hi,
the Here map conversioni of MouseMove into PointerMoved is not working, the event in WP8 fires when you move the map but in UWP it doesn't fire when expected.

Maybe should it be converted into something else? I have not found something similar so far btw

@ldfallas
Copy link
Contributor

ldfallas commented Oct 5, 2015

Hi,

Thanks for your report!.
Just to confirm ,are you trying to convert from Microsoft.Phone.Maps.Controls.Map to Windows.UI.Xaml.Controls.Maps.MapControl?

If so, as you said it seems that in the current version the Pointer events are not being raised for MapControl. It seems that the closest way to detect movement inside the map control is to subscribe to the CenterChanged event.

We will leave the issue open until we find a better conversion for Windows.UI.Xaml.Controls.Maps.MapControl.MouseMoved.

@RomeoPavoni
Copy link
Author

Yes the namespaces are correct.

The problem is CenterChanged is fired dozens of time even if the center of the map is changed due to a new gps location and not only due to a user interaction.

I will check further if you find some news

Many thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants