Hi Tim,
Regarding the animation lagging in the shape layer, we have already reported this issue to the framework and we are yet to get an update from them. We will be able to provide a solution for this once this issue is fixed from the framework side.
https://github.com/flutter/flutter/issues/72718
For your expected interaction behavior, will tile layer work?
https://flutter.syncfusion.com/#/maps/tile-layer/polylines
Regarding "control the time of the animation", we have done the internal calculation for the duration which will vary depends on the distance between the current location and next location. That means, if the distance is smaller, the duration will be smaller and vice versa. If you still need to customize this, please provide more information about this requirement which will be helpful to check on this further.
Regards,
Lakshmi R.
_state.focalLatLngAnimationController.duration =
const Duration(milliseconds: 650);
_state.zoomLevelAnimationController.duration =
const Duration(milliseconds: 650);
_state.focalLatLngAnimationController.duration =
const Duration(milliseconds: 650);
MapZoomPanBehavior(
focalLatLngAnimationDuration: 500,
zoomLevelAnimationDuraction: 500
)
Hi Tim,
Though we are not able to fix the performance issue in the larger sized maps due to the bug we mentioned in the framework, we will improve the animation behavior and include this in the weekly release which is scheduled on May 11, 2021.
Regarding customization option for the animation duration, we have logged an improvement for this and it will be available in any of our upcoming releases.
Regards,
Lakshmi R.
Hi Tim,
We are glad to announce that our Essential Studio 2021 Volume 1 Service pack release v19.1.0.63 is rolled out and is available for download under the following link. The mentioned animation improvement is included in this release.
We thank you for your support and appreciate your patience in waiting for this release. Please get in touch with us if you would require any further assistance.
Regards,
Lakshmi R.