Smooth GMSPolyline in iOS

断了今生、忘了曾经 提交于 2020-01-06 14:06:08

问题


I am using Google Maps iOS SDK. When I draw a GMSPolyline in map, it does not look smooth. How can I make a smoother GMSPolyline or a smoother line between two coordinates?


回答1:


I found the solution. I was using 1px stroke-width of line. Instead now I am using 4px stroke-width and its smoother.



来源:https://stackoverflow.com/questions/18095437/smooth-gmspolyline-in-ios

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!