Mappedin JS location/coordinate on top of a space

Thank you, we have upgraded to the latest Mappedin JS version and with your help created a function to check if the coordinate is located on top of a space. We tested the function, it works and the performance is fast aswell.