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.
See also: