IsIndicatorsEnabled: Boolean;
IsIndicatorsEnabled: boolean;
The IsIndicatorEnabled property determines whether metrics are displayed on a map.
Available values:
True. Default. Metrics are displayed.
False. Metrics are not displayed.
Executing the example requires that the repository contains a form containing the following components:
MapBox with the MapBox1 identifier.
UiMap with the UiMap1 identifier that is a source for MapBox1.
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.
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: