vector_map_flutter
vector_map_flutter copied to clipboard
Bug in MapGradientTheme - the step range of the gradient increases with every iteration
There seems to be a bug in the MapGradientTheme.
line 96 of map_gradient_theme.dart
double currentStepRange = (stepIndex * stepSize) + stepSize;
should read
double currentStepRange = stepSize;
You can test it with 3 or more colors.