Closed Mkohm closed 3 years ago
Unfortunately not - according to this: https://stackoverflow.com/questions/50336082/how-to-return-from-a-foreach-loop-in-dart and my observations, it will not return :) I am working on a fix as i am working with polylines that is close to each other.
Just replace foreach by a traditional for then.
If there are many polylines multiple onTap can be called. A solution where only the closest one will be triggered should be implemented. Will see what i can do about it later.