MGISEnvironment

System environment setting class

new SuperMap3D.MGISEnvironment()

Methods

staticSuperMap3D.MGISEnvironment.getPPI()Number

Get the pixel density (see: setPPI ())
Returns:
pixel density
See:
  • setPPI()

staticSuperMap3D.MGISEnvironment.setPPI(PPI)

Set the pixel density unit (default: 96). The pixel density unit is used to convert logical units (e.g. centimeters) in the system into pixel units, solving the problem of inconsistent display effects at different resolutions.
Name Type Default Description
PPI Number 96 optional Unit of pixel density