You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey @Suganyasrii the driver mode is exactly the thing you want. Read the Readme.md. I have used a MQTT sever to receive location from server and then I apply animation on client side as soon I receive 2 LatLng points.
Do check it. If it is not clear I have also thought to update my Readme with a flow chart which can be useful while understanding.
Hi @Suganyasrii ,
Yes it is possible to have that. I am explaining this in points will soon update my readme with a flowchart.
There will a protocol by which you will be receiving your location updates. I have done it through MQTT. There can be many other ways to receive the location updates.
Now, as soon as you start getting the location updates you will be needing two LatLng to dispatch your animation. For this I created a stream out of what I was getting from location updates and set a buffer of 2.
Now as soon two LatLng are emitted my publish relay will dispatch an animation in it's subscription.
I have attached the code in readme for it.
Do tell me if any of these points need further explanation.
In my application based on driver lat and long I need to animate marker as well show the polyline from driver to customer ,
The text was updated successfully, but these errors were encountered: