com.nutiteq.maps.projections
Interface Projection

All Known Implementing Classes:
BaseKaMap, BlomOrthoMap, CloudMade, DigitalGlobeMap, EPSG3395, EPSG3785, EPSG4326, JaredOpenStreetMap, KaMap, Lambert, MultiStoredMap, NavteqMapTP, NutiteqStreamedMap, OpenStreetMap, QKMap, SimpleWMSMap, StoredMap, StreamedCloudMadeMap, StreamedKaMap, StreamedOpenAerialMap, TMSMap

public interface Projection

Interface for projection system calculation implementations


Method Summary
 Point mapPosToWgs(MapPos pos)
          Convert a point on pixel map to WGS84 coordinates (decimal coordinates * 1000000)
 MapPos wgsToMapPos(Point wgs, int zoom)
          Convert WGS84 coordinates to pixel point on map
 

Method Detail

mapPosToWgs

Point mapPosToWgs(MapPos pos)
Convert a point on pixel map to WGS84 coordinates (decimal coordinates * 1000000)

Parameters:
pos - pixel point on the map (on 256x256 pixels map of the world 0E 0N is located at map pixel 128x : 128y)
Returns:
point in internally used WGS84 format (decimal degrees * 1000000)

wgsToMapPos

MapPos wgsToMapPos(Point wgs,
                   int zoom)
Convert WGS84 coordinates to pixel point on map

Parameters:
wgs - WGS84 coordinates (decimal coordinates * 1000000)
zoom - zoom level for the map
Returns:
pixel position on map for the coordinates