Previous ION Java User's Guide: ION Java Class and Method Reference Next

IONMap() / IONJMap()

The IONMap() method constructs a new map centered at (lat, lon) with rotation rot.

Syntax


Note
The following is the syntax for the IONMap() method. For the IONJMap() method, replace IONMap with IONJMap.

public IONMap(int iWidth, int iHeight)

public IONMap(int iWidth, int iHeight, int lat)

public IONMap(int iWidth, int iHeight, float lat)

public IONMap(int iWidth, int iHeight, double lat)

public IONMap(int iWidth, int iHeight, int lat, int lon)

public IONMap(int iWidth, int iHeight, float lat, float lon)

public IONMap(int iWidth, int iHeight, double lat, double lon)

public IONMap(int iWidth, int iHeight, int lat, int lon, int rot)

public IONMap(int iWidth, int iHeight, float lat, float lon, float rot)

public IONMap(int iWidth, int iHeight, double lat, double lon, double rot)

Arguments

iHeight

The height of the drawing area.

iWidth

The width of the drawing area.

lat

The latitude of the point on the Earth's surface to be mapped to the center of the projection plane. Latitude is measured in degrees north of the equator, and lat must be in the range -90° £ lat £ 90°. The default is 0.

lon

The longitude of the point on the Earth's surface to be mapped to the center of the projection plane. Longitude is measured in degrees east of the Greenwich meridian, and lon must be in the range -180° £ lon £ 180°. The default is 0.

rot

The angle through which the North direction should be rotated around the line L between the Earth's center and the point (lat, lon). This angle is measured in degrees with the positive direction being clockwise around the line L, and must be in the range -180° £ rot £ 180°. The default is 0.

If the center of the map is at the North pole, North is in the direction lon + 180°. If the origin is at the South pole, North is in the direction lon.

Exceptions

None.

  IDL Online Help (March 06, 2007)