CS) Informative
Maps on PDA-phones Chui Pui Ling Page 31 800 pixels pixels bHK Grid 80 to Pixel Conversion for Zoom level = 4
(Figure 20)
FactorX = 800 / (836380 - 835246)
FactorY = 600 / (818334 - 817484) With the centre coordinates of the map with pixel (400,300), any HKGrid 80 coordinates on the map can be converted into pixel form (PtX, PtY)
PtX = 400 + (coordinateX - centreCoordinateX) * FactorX
PtY = 300 - (coordinateY - centreCoordinateY) *
FactorY Figure 20 Sample map get from centamap with zoom level = 4 CS) Informative Maps on PDA-phones
Chui Pui Ling Page 33
Share with your friends: