Closed josxha closed 1 month ago
My 2 cents: inlatlng_bounds.dart
we see several times things like
double minX = 180;
double maxX = -180;
double minY = 90;
double maxY = -90;
As a refactoring, we may be better off making those values static const double
and reuse those values elsewhere.
thanks for the quick fix :)
@mootw thanks for the review and @monsieurtanuki thanks for the comment. I added the requested refactoring. Does anyone want to take another look before we merge?
Some linestrings caused the PolylineLayer to throw an assertion exception.
This bug was reported by borg_1of3 on discord: https://discord.com/channels/951867686378409984/1235305884620689558/1235305884620689558
The bug sneaked into the code base in https://github.com/fleaflet/flutter_map/pull/1834.