API Reference > imodeljs-frontend > Views > MarkerSet > constructor constructor Method Construct a new MarkerSet for a specific ScreenViewport. MarkerSet(viewport?: ScreenViewport): MarkerSet Parameter Type Description viewport ScreenViewport the ScreenViewport for this MarkerSet. If undefined, use viewManager.selectedView Returns - MarkerSet Defined in core/frontend/src/Marker.ts Line 334 Last Updated: 13 June, 2024