IMap.IsIndicatorsEnabled

Fore Syntax

IsIndicatorsEnabled: Boolean;

Fore.NET Syntax

IsIndicatorsEnabled: boolean;

Description

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

Comments

Available values:

Fore Example

Executing the example requires that the repository contains a form containing the following components:

It is also required to have a map that is a data source for UiMap1.

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 displayed on a map.

Fore.NET Example

The requirements and result of the Fore.NET example execution match with those in the Fore example. Use Fore.NET analogs instead of Fore components.

Public Sub UserProc();
Var
    Map: IMap;
    TerritoryInfo: DxMapTerritoryInfoClass = New DxMapTerritoryInfoClass();
    MapView: IMapView;
Begin
    // Get map
    Map := UiMapNet1.Map;
    // Disable displaying of metrics on map
    Map.IsIndicatorsEnabled := False;
    map.Refresh();
End Sub UserProc;

See also:

IMap