getIndexAt now returns a unique negative value for each boundary when the requested coordinates are out of map range.
minX: -1
minY: -2
maxX: -3
maxY: -4