API Reference > imodeljs-frontend > Views > DisplayStyleState > getOSMBuildingRealityModel getOSMBuildingRealityModel Method Get the ContextRealityModelState that displays the OpenStreetMap worldwide building layer, if enabled. getOSMBuildingRealityModel(): undefined | ContextRealityModelState see DisplayStyleState.setOSMBuildingDisplay Returns - undefined | ContextRealityModelState Defined in core/frontend/src/DisplayStyleState.ts Line 281 Last Updated: 11 June, 2024