Skip to content

Commit 9fe0b16

Browse files
committed
Fixing Solution File
Prooving FontSizeTheme works with Points as well
1 parent e241cdf commit 9fe0b16

3 files changed

Lines changed: 396 additions & 392 deletions

File tree

Examples/WinFormSamples/Samples/TileLayerSample.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,8 @@ private static SharpMap.Map InitializeMapOsmWithXls(float angle)
132132
LabelFilter =
133133
SharpMap.Rendering.LabelCollisionDetection.ThoroughCollisionDetection
134134
};
135+
xlsLabelLayer.Theme = new SharpMap.Rendering.Thematics.FontSizeTheme(xlsLabelLayer, map) { FontSizeScale = 1000f };
136+
135137
map.Layers.Add(xlsLabelLayer);
136138

137139
map.ZoomToBox(tileLayer.Envelope);

0 commit comments

Comments
 (0)