/// <summary> /// Creates a new instance of a LabelLayer with the given name. /// </summary> /// <param name="layerName">Name of the layer.</param> /// <param name="dataSource">Data source provider for the layer.</param> public LabelLayer(String layerName, IFeatureProvider dataSource) : base(layerName, new LabelStyle(), dataSource) { _multipartGeometryBehaviour = MultipartGeometryLabelingBehavior.Default; }
/// <summary> /// Creates a new instance of a LabelLayer with the given name. /// </summary> /// <param name="layerName">Name of the layer.</param> /// <param name="dataSource">Data source provider for the layer.</param> public LabelLayer(string layerName, IFeatureLayerProvider dataSource) : base(layerName, dataSource) { _multipartGeometryBehaviour = MultipartGeometryLabelingBehavior.Default; _labelFilter = LabelCollisionDetection2D.SimpleCollisionDetection; }