-
[iOS] NaverMap Curve/Arc 경로 라이브러리Swift 2023. 1. 16. 16:42
개요
지도 서비스를 개발 할 때, 항공이나 먼 거리의
경로를 보여주는 상황에서
휘어진 또는 아치형 경로를 보여주고 싶을 때가 있습니다.
1) Add Dependencypod 'NMapsCurve'
2) Draw Curve
let path = NMFCurvePath(point: samplePoints)! path.outlineWidth = 0 path.width = 5 path.mapView = self.mapView
실행결과'Swift' 카테고리의 다른 글
[iOS] HTML String을 WKWebView로 보여주기 (0) 2022.04.26 [iOS] 화면 캡쳐(Screenshot) 감지 (0) 2021.01.19 [iOS] Label, Button 드래그로 위치 이동시키기 (0) 2021.01.19 [iOS] Apple Silicon(M1)에서 cocoapods 실행하기 (0) 2021.01.07 [iOS] Crash Report 분석 (0) 2021.01.06