Class IWProjection

An interface which has to be implemented by all map projections. A projection is used by the map to convert from pixel space to map coordinates and vice versa.


Constructor Summary
IWProjection()
            Default constructor.
 
Method Summary
clone()
           Returns a copy of this projection.
 void initialize(xmlDocument)
           Initializes the projection parameters from a XML document.
 IWPoint meterToPixel(coord)
           Returns the offset in pixels of the specified coordinate to the map center.
 boolean needsReload(size)
           Checks whether the map has to be reloaded completely to display the specified region.
 IWCoordinate pixelToMeter(offset)
           Returns the coordinate of the current map center plus the specified offset in pixels.
 String toString()
           Returns a text representation of this projection.
 
Constructor Detail

IWProjection

IWProjection()

Method Detail

clone

clone()

initialize

void initialize(xmlDocument)

meterToPixel

IWPoint meterToPixel(coord)

needsReload

boolean needsReload(size)

pixelToMeter

IWCoordinate pixelToMeter(offset)

toString

String toString()

Source-Code Copyright 2007-2009 infoware GmbH - Documentation generated by JsDoc Toolkit 1.4.1 on Tue Nov 28 2017 09:51:51 GMT+0100 (MEZ)