Ejemplo n.º 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;
 }
Ejemplo n.º 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;
 }
Ejemplo n.º 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;
		}