New to Telerik UI for WinFormsStart a free 30-day trial

Scale Indicators

Updated over 6 months ago

The scale indicators use two measures - imperial and metric. Depending on the scale of the view port the indicators have two modes showing miles and kilometers or feet and meters.

Figure 1: Large Scale

WinForms RadMap Large Scale

Figure 2: Small Scale

WinForms RadMap Small Scale

Customizing Appearance

The scaling indicators expose several properties allowing modification of the way the element is painted.

Figure 3: Custom Text, Color and Bar Height

WinForms RadMap Custom Text, Color and Bar Height

Customizing Appearance

C#
this.radMap1.MapElement.ScaleIndicatorElement.ImperialBarColor = Color.Red;
this.radMap1.MapElement.ScaleIndicatorElement.MetricBarColor = Color.Blue;
this.radMap1.MapElement.ScaleIndicatorElement.BarHeight = 4;
this.radMap1.MapElement.ScaleIndicatorElement.KilometersText = " км";
this.radMap1.MapElement.ScaleIndicatorElement.MetersText = " м";
this.radMap1.MapElement.ScaleIndicatorElement.MilesText = " ми";
this.radMap1.MapElement.ScaleIndicatorElement.FeetText = " фт";

See Also

In this article
See Also
Not finding the help you need?
Contact Support