¡@

Home 

2014/10/16 ¤W¤È 08:21:27

android Programming Glossary: pixely

Android: How To: mark the current location into a map (still image) - SOURCE CODE,TESTCASE,ACTUAL,EXPECTED OUTPUT ADDED

http://stackoverflow.com/questions/7072400/android-how-to-mark-the-current-location-into-a-map-still-image-source-cod

@return the tile Y number of the latitude value. static long latitudeToTileY double latitude byte zoom return pixelYToTileY latitudeToPixelY latitude zoom zoom Converts a longitude coordinate in degrees to a pixel X coordinate at a certain.. TILE_SIZE 0 Math.pow 2 zoom 1 Converts a pixel Y coordinate at a certain zoom level to a latitude coordinate. @param pixelY the pixel Y coordinate that should be converted. @param zoom the zoom level at which the coordinate should be converted... level at which the coordinate should be converted. @return the latitude value of the pixel Y coordinate. static double pixelYToLatitude double pixelY byte zoom double y 0.5 pixelY long TILE_SIZE zoom return 90 360 Math.atan Math.exp y 2 Math.PI Math.PI..