New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Polyline filled with borderColor #856
Comments
@escamoteur - I guess the intention was not to change default behaviour of polyline filling? |
nope, that wasn't intended |
yeah, PR would be nice |
@Ahmed-gubara A PR is much appreciated. Add me as reviewer and I will look at it asap. |
could you check if this is still the case in my null safety branch? |
@escamoteur It's still present in your null safety branch. |
could you make a PR on https://github.com/escamoteur/flutter_map/tree/nullsafety? |
@escamoteur I've made the PR escamoteur#3, but getting |
Starting with version 0.11.0 with PR #766
Using Polyline to draw path creates shapes (with borderColor), unless you pass Colors.transparent as borderColor.
Going through the source code i found this part
flutter_map/lib/src/layer/polyline_layer.dart
Lines 153 to 161 in e8389e1
and
flutter_map/lib/src/layer/polyline_layer.dart
Lines 188 to 195 in e8389e1
Swapping filterPaint with borderPaint in the function call _paintLine(...) makes Polyline works normally
Should i make PR for that, or is this intentional?
The text was updated successfully, but these errors were encountered: