intersects method
Returns true if the current shape intersects with the given rectangle. This is used to find out if the current shape also needs to be drawn at a neighboring shape.
Implementation
@override
bool intersects(MapRectangle other) {
return getBoundaryAbsolute().intersects(other);
}