isTapped method

  1. @override
bool isTapped(
  1. TapEvent tapEvent
)
override

returns true if the position specified by tapEvent is in the area of this marker. Note that tapEvent represents the position at the time the tap has been executed.

Implementation

@override
bool isTapped(TapEvent tapEvent) {
  return LatLongUtils.contains(path, tapEvent);
}