We just released an update to Mappedin JS today that may help to solve this.
There are new .geoJSON
properties for the map data classes, such as Space.geoJSON. These return the geomety of the space in GeoJSON format. You could use this along with turf/boolean-point-in-polygon to determine if the coordinate is within a space.