PrxMapView.ToolTipMaskText

Syntax

ToolTipMaskText: String

Description

The ToolTipMaskText property sets mask for map territories tooltips.

Comments

A mask is set by default

Example

To execute this example, the HTML page must contain the ReportBox component named reportBox (see Example of the ReportBox Component Layout). The regular report sheet must contain a map.

var prxMap = reportBox.getDataView().getGridView().getTabSheet().getModel().getObjects()[0].getITabObject();//get regular report map

prxMap.setToolTipMaskText("{%Name}");

prxMap.refresh();

 

After executing the example map territories tooltip changes: now the territory name appears on hovering over a map region.

See also:

PrxChartView