I have a map and line (poly-line) on it. I'm trying to make a smooth polygon around this line. The problem I'm f开发者_JAVA百科acing is how to create that polygon look smooth with rounded ends. any suggestions/solutions? I've tried to draw another line over existing one with different thickness, but it doesn't work well with zooming...
In MKOverlayPathView which is a superclass of MKPolylineView there is a property called lineCap. Set it to
kCGLineCapRound
check here: http://developer.apple.com/library/ios/#documentation/MapKit/Reference/MKOverlayPathView_class/Reference/Reference.html
Hope it helps.
 
         
                                         
                                         
                                         
                                        ![Interactive visualization of a graph in python [closed]](https://www.devze.com/res/2023/04-10/09/92d32fe8c0d22fb96bd6f6e8b7d1f457.gif) 
                                         
                                         
                                         
                                         加载中,请稍侯......
 加载中,请稍侯......
      
精彩评论