MapMaster.AreMetricsOn

Syntax

AreMetricsOn: Boolean;

Description

The AreMetricsOn property determines whether metrics are used in wizard.

Comments

Use JSON or the setAreMetricsOn method to set the property value and the getAreMetricsOn method to get the property value.

If the value is True, wizard is reconfigured for working taking into account metrics.

Example

Executing the example requires the MapMaster component with the master (see Example of the MapMaster and MapChart Components Layout). Check metrics use:

console.log(master.getAreMetricsOn ? "Metrics are used" : "Metrics are not used").

After executing the example the console displays whether wizard uses metrics.

See also:

MapMaster