Methods
Storey
getStoreyByElevation
returns the closest storey to the provided elevation from the first loaded model example usage const elevation = 1 0; const buildingid = "building 1"; const storey = viewer2d getstoreybyelevation(elevation, buildingid); parameters elevation elevation in meters true left unhandled content type left unhandled content type left unhandled content type left unhandled content type buildingid limit to a specific building true left unhandled content type left unhandled content type left unhandled content type left unhandled content type return value the storey, null if no storey found true left unhandled content type left unhandled content type example { id "398045672938", buildingid "0 rp9o2k5sjl", guid "3em8wby 55kk3tdws3wwjp", name "first floor", modelid "0 vo5tl2lrto", elevation 1 0, };