Skip to content

[google_maps_flutter] plugin 0.5.21 regression, polylines updates are not displayed. #39737

@SirJohn2024

Description

@SirJohn2024

Polylines are not updated because the new added hasChanged() method in _PolylineUpdates.from(), always found the previous and current polyline being the same.
As a test, returnig true from hasChanged() restore the correct behavior.

The polyline was used to track the user route on the map, the only thing changing being the number of points.
Now, to restore the behavior, the PolylineId() must be unique, causing the old one to be removed.

Metadata

Metadata

Assignees

Labels

c: regressionIt was better in the past than it is nowp: mapsGoogle Maps pluginpackageflutter/packages repository. See also p: labels.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions