IMap.IsIndicatorsEnabled

Syntax

IsIndicatorsEnabled: Boolean;

Description

The IsIndicatorEnabled property determines whether metrics are displayed on a map.

Comments

Available values:

Example

Executing the example requires a form with the following components: the Button component named Button1, the MapBox component named MapBox1, and the UiMap component named UiMap1. UiMap1 is a data source for MapBox1. The map must be connected to the UiMap1 component.

Add links to the Drawing and Map system assemblies.

Sub UserProc;
Var
    Map: IMap;
    TerritoryInfo: IMapTerritoryInfo;
    MapView: IMapView;
Begin
    // Get map
    Map := UiMap1.Map;
    // Disable displaying of metrics on map
    Map.IsIndicatorsEnabled := False;
    map.Refresh;
End Sub UserProc;

After executing the example metrics are disabled on the map.

See also:

IMap