Closed adelsamy closed 7 years ago
@adelsamy When the dragend
event fires, doesn't it return you an annotation
object?
@yozef yes, return annotation object but with same first lat and long
It seems to be implemented properly. Then the Google Maps SDK dosen't seem to return the end location.
mmm, Ok what your Suggest to get end location ?
Yes, just checked it. Google Maps does not return anything else. I cannot find any example code, maybe it is an issue in the Google Maps iOS SDK?
Ok got it. We search for the annotation inside our cache and return it. Because it is updated during dragging, its location needs to be updated and be returned afterwards. Will setup a fix for the next release, but that can take a week or two some more weeks.
Ok, so I finally had some time to investigate the issue and provided a possible solution in this PR: https://github.com/hansemannn/ti.googlemaps/pull/51 @yozef Since you know how to build, can you verify/test this?
Sure
@yozef ?
I haven't tried it yet... was trying to figure out the adding annotation why it doesn't "always" appear.
I will give this issue of drag event a try this weekend
I had an older copy of 2.5.1 when it was released and tested against it. The annotations are not displaying in order to test the drag event. Relates to Issues: #34 & #54
Just pushed a lot of stuff to https://github.com/hansemannn/ti.googlemaps/pull/51, please try the updated PR. I'm also drafting a public 2.6.0 Beta here.
Fixed in the latest 2.6.0 release :-)
Hi, i using dargend event to get lat and long final to pin but i can't get it because dragend Event don't update marker lat and long please help me i need get final lat and long when dragend event work
thank you for help me Regards,