EaxDataView.getMapView

Syntax

getMapView();

Description

The getMapView method returns the Map data view in the working area of express report.

Example

Executing the example requires that the HTML page contains the ExpressBox component named expressBox (see Example of Creating the ExpressBox Component). Then get the map type defined using the PP.MapChart.Type enumeration:

// Get an object of the EaxDataView class
var dataView = expressBox.getDataView();
dataView.getMapView().getMapType();

Map type is output to the browser console as the result of the example execution:

"SVG"

See also:

 EaxDataView