API Reference > imodeljs-common > DisplayStyles > SpatialClassifiers > constructor constructor Method Construct a new set of classifiers from the JSON representation. The set will be initialized from container.classifiers and that JSON representation will be kept in sync with changes made to the set. The caller should not directly modify container.classifiers or its contents as that will cause the set to become out of sync with the JSON representation. The SpatialClassifiers.active classifier will be determined by the first SpatialClassifierProps whose isActive property is set to true, if any. SpatialClassifiers(container: SpatialClassifiersContainer): SpatialClassifiers Parameter Type Description container SpatialClassifiersContainer Returns - SpatialClassifiers Defined in core/common/src/SpatialClassification.ts Line 235 Last Updated: 12 June, 2024