public class ViewportData extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
private EastNorth |
center |
private java.lang.Double |
scale |
| Constructor and Description |
|---|
ViewportData(EastNorth center,
java.lang.Double scale)
Constructs a new
ViewportData. |
| Modifier and Type | Method and Description |
|---|---|
EastNorth |
getCenter()
Return the projected coordinates of the map center
|
java.lang.Double |
getScale()
Return the scale factor in east-/north-units per pixel.
|
public ViewportData(EastNorth center, java.lang.Double scale)
ViewportData.center - Projected coordinates of the map centerscale - Scale factor in east-/north-units per pixel