updateCornerByKey method
Équivalent de updatePointByKey pour overlay : met à jour un coin.
Implementation
InteractiveOverlayImage updateCornerByKey(
Key? key, QuadCorner corner, LatLng latlng) {
final idx = indexOfKey(key);
final old = this[idx];
this[idx] =
old.copyWith(corners: old.corners.copyWithCorner(corner, latlng));
return this[idx];
}