示例#1
0
 /// <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;
 }
示例#2
0
 /// <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;
 }
示例#3
0
		/// <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;
		}