fivenine-zurich/UnifiedMaps

[Bug iOS] Location after moving a pin is not correct.

Closed this issue · 2 comments

DESCRIPTION
When a pin is moved the PinDragEnd event does not return the new location, what returns is the previous position of the pin.

ERROR
The error is found in the ChangedDragState function in the native iOS implementation.

FIX
It can be corrected by updating the value of unifiedPoint.Data.Location with the values ​​of annotationView? .Annotation

image

Hi LyckanSv,

I saw that you closed the PR and removed the Branch, is this issue not relevant anymore?

It was not necessary to do it this way, moving the line where unifiedPoint.Data.Location is updated at the beginning of the if. I will make a new pull request.