PrxMapView.getMapDHTML

Syntax

getMapDHTML ();

Description

The getMapDHTML method returns an instance of the MapChart component.

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

mapChart = prxMap.getMapDHTML();//get the MapChart component

mapChart.setUseZoomOnWheel(False);//disable scaling map with the mouse

 

After executing the example map scale cannot be changed with the mouse wheel.

See also:

PrxChartView