2011-02-24 70 views

回答

2

你看過文檔嗎?

Converting Points on the Map: 

    – pointForMapPoint: 
    – mapPointForPoint: 
    – rectForMapRect: 
    – mapRectForRect: 

http://developer.apple.com/library/ios/#documentation/MapKit/Reference/MKOverlayView_class/Reference/Reference.html

+0

我看過文檔 - 但是這些方法並沒有給我答案。看來有一個大規模的因素被應用。 MapPointForPoint(0,0)返回(,)。 MapPointForPoint(100,100)返回( + 100, + 100)。如果我畫這條線,那麼它很小,甚至不可見。 – user633077 2011-02-25 00:31:28

0

漂亮其實很簡單。除以zoomScale。顯然我患有一天結束症候羣。