EaxMapView.getInstance

Syntax

getInstance();

Description

The getInstance method returns an instance of express report map.

Comments

The method returns an object of the PP.MapChart type.

Example

Executing the example requires that the HTML page contains the ExpressBox component named expressBox (see Example of Creating the ExpressBox Component) and have a loaded map in the working area. Get scale of the express report map:

// Get express report map view
var eaxMapView = expressBox.getDataView().getMapView();
console.log("Map scale: " + eaxMapView.getInstance().getScale());

After executing the example the browser console displays scale of the express report map:

Map scale: 0.5296875

See also:

EaxMapView