C# Class SharpMap.Layers.LabelLayer

A map layer of feature labels.
Inheritance: SharpMap.Layers.FeatureLayer
Show file Open project: jumpinjackie/fdotoolbox Class Usage Examples

Public Methods

Method Description
Clone ( ) : object

Clones the object

Dispose ( ) : void

Disposes the object

LabelLayer ( string layername ) : System

Creates a new instance of a LabelLayer

Render ( System g, Map map ) : void

Renders the layer

Private Methods

Method Description
CalculateLabelOnLinestring ( SharpMap line, SharpMap &label, Map map ) : void
CreateLabel ( SharpMap feature, string text, float rotation, SharpMap style, Map map, System g ) : SharpMap.Rendering.Label

Method Details

Clone() public method

Clones the object
public Clone ( ) : object
return object

Dispose() public method

Disposes the object
public Dispose ( ) : void
return void

LabelLayer() public method

Creates a new instance of a LabelLayer
public LabelLayer ( string layername ) : System
layername string
return System

Render() public method

Renders the layer
public Render ( System g, Map map ) : void
g System Graphics object reference
map Map Map which is rendered
return void