초기설정


Kakao 지도 API

Untitled

Untitled

//
//  **KakaoBrideHeader.h**
//  wtd
//

#ifndef KakaoBrideHeader_h
#define KakaoBrideHeader_h

#import <DaumMap/MTMapView.h>

#endif /* KakaoBrideHeader_h */

맵 띄우기


var mapView = MTMapView(frame: containerView.bounds)
mapView.delegate = self
mapView.baseMapType = .standard
mapView.setMapCenter(MTMapPoint(geoCoord: MTMapPointGeo(latitude:longitude:)), animated: true)
mapView.setZoomLevel(MTMapZoomLevel(3), animated: true)

현재위치 원으로 표시