PATRIK27 / osmdroid

Automatically exported from code.google.com/p/osmdroid
0 stars 0 forks source link

Add toScreenPoint and toMapPoint functions in projection #216

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
We took the time to define a screen point and a map point and how they are used 
differently, but don't really provide clear guidance on how to translate 
between the two.

It would be nice to provide simple methods to do this in the projection class:

toMapPoint(Point pScreenPoint, int pLevelOfDetail, Point reuse);
toScreenPoint(Point pMapPoint, int pLevelOfDetail, Point reuse);

Original issue reported on code.google.com by kurtzm...@gmail.com on 18 May 2011 at 7:37