Closed OttyLab closed 3 years ago
@Chaoba Thanks! Sure, I'll do the test. BTW, do you have any metrics about performance? If no, then I'll just check if I can see a laggy behavior on some Android physical devices (Nexus 5 and Pixel 4a would be candidates)
@OttyLab AFAIK, we don't have any metrics for makerview.
Yes, please check on your device.
@Chaoba Here's the result of physical device test. If the device is not powerful, this update makes the animation a bit laggy. But it's not critical, I suppose.
Could you guys please make a new release for MarkerViewPlugin too? The latest MarkerViewPlugin v0.4.0 release doesn't include this fix.
Background
MarkerView position is only updated with
onCameraDidChange
. When a user flicks the map, MarkerView keeps the position until the flick animation is finished as below. This behavior looks laggy from user point of view.Update
Call
update()
inonCameraIsChanging
as well.Result