Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Flutter How to animate marker smoothly?

I'm developing custom marker on google map using Flutter.

I just want to know about Marker.

Can I implement marker animation smootly??

ex. LatLng(xx.xxxxxxx) => LatLng(yy.yyyyyyy) when marker move, it has to move smoothly.

please refer to this image. https://github.com/flutter/flutter/issues/31180

like image 292
ZUCCA Avatar asked Nov 07 '22 09:11

ZUCCA


1 Answers

Try this new package - Animarker to animate marker over the Google Maps.

_latLngStream.getLatLngInterpolation().listen
like image 55
Gauris Javier Avatar answered Nov 13 '22 20:11

Gauris Javier