Hi Ray,
It is possible to
update elements like markers and shapes like polygons, lines, arcs, etc.
dynamically based on the changes in the data source. However, you may need to
listen to the changes in the data in the firestore for your requirement. Once
the updated data is obtained, you can update the maps by calling setState or
respective methods for markers as shown in the below links.
https://help.syncfusion.com/flutter/maps/vector-layers/line-layer#adding-lines
https://help.syncfusion.com/flutter/maps/markers#adding-markers-dynamically
We have attached the
sample code snippet for updating the lines in the UI dynamically. If you need
further guidance regarding this, we kindly request you to provide more details
about your requirement. We will be happy to assist you with this.
Regards,
Samsudeen
Attachment:
dynamic_update_64d3179c.zip