Hi Everybode ! I have a question about converting Lat/Lon to pixel Coordinate. I know to convert from Lat/Lon to map tile ( x,y ). But how i can get pixel in map tile(image) corresponding with the Lat/Lon. Example : I have a lat/lon : 21.032644/105.852556 at zoom 12. So maptile is x/y = 3252/1803 ( maptile size 256x256). What pixel in tile image corresponding the Lat/lon ? How to determine it ? |