Skip to content

[BUG] CircleMarker incorrectly fills with stroke color and has incorrect size #1688

@vitalsh

Description

@vitalsh

What is the bug?

CircleMarker fills the circle with either CircleMarker.color or CircleMarker.borderColor

How can we reproduce it?

Looks like any circle will be filled with the stroke color regardless of the settings/parameters

Do you have a potential solution?

circle_layer.dart : line 104 and 118
this line looks suspicious:
final radiusPaint = paint..strokeWidth = radius;
should probably be:
final radiusPaint = paint..strokeWidth = borderStrokeWidth;

Platforms

Any

Severity

Obtrusive: Prevents normal functioning but causes no errors in the console

Metadata

Metadata

Assignees

No one assigned

    Labels

    P: 1 (important)bugThis issue reports broken functionality or another error

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions