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