SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A parallel projection used by the standard map views.
Author: BRE, JANConstructor Summary | |
IWParallelProjection(map)
Default constructor. |
Method Summary | |
void
|
initialize(obj)
Initializes the projection object. |
IWPoint
|
meterToPixel(coordinate)
Returns the pixel position for the given coordinate. |
|
meterToPixelXY(coordinateX, coordinateY)
undocumented |
boolean
|
needsReload(coord, size)
Returns false .
|
|
needsReloadXY(coordX, coordY, size)
undocumented |
IWCoordinate
|
pixelToMeter(point)
Returns the coordinate for the given pixel position. |
|
pixelToMeterXY(pixelX, pixelY)
undocumented |
|
setMeterPerPixel(meter)
undocumented |
String
|
toString()
Returns a string representation of the parallel projection. |
Methods inherited from class IWProjection |
clone() |
Constructor Detail |
IWParallelProjection(map)
IWMap map
Method Detail |
void initialize(obj)
Object obj
void
IWPoint meterToPixel(coordinate)
IWCoordinate coordinate
- the given coordinate
IWPoint
meterToPixelXY(coordinateX, coordinateY)
coordinateX
coordinateY
boolean needsReload(coord, size)
false
.
IWCoordinate coord
- the current map center
IWSize size
- the visible map area in pixel
boolean
needsReloadXY(coordX, coordY, size)
coordX
coordY
size
IWCoordinate pixelToMeter(point)
IWPoint point
- the given pixel position
IWCoordinate
pixelToMeterXY(pixelX, pixelY)
pixelX
pixelY
setMeterPerPixel(meter)
meter
String toString()
String