KMTLocationTemplate Class Reference

Inherits from KMTTemplate : KMTParamObject : NSObject
Declared in KMTLocationTemplate.h
KMTLocationTemplate.m

Overview

@class KMTLocationTemplate

위치 템플릿은 지도 표시에 사용되는 주소 정보와 해당 위치를 설명할 수 있는 컨텐츠 오브젝트로 구성됩니다. 왼쪽 하단에 기본 버튼, 오른쪽 하단에 지도를 보여주기 위한 “위치 보기” 버튼이 추가됩니다. “위치 보기” 버튼을 클릭하면 카카오톡 채팅방 내에서 바로 지도 화면으로 전환하여 해당 주소의 위치를 확인할 수 있습니다.

  address

공유할 위치의 주소. 예) 경기 성남시 분당구 판교역로 235

@property (copy, nonatomic) NSString *address

Discussion

@property address

Declared In

KMTLocationTemplate.h

  addressTitle

카카오톡 내의 지도 뷰에서 사용되는 타이틀. 예) 카카오판교오피스

@property (copy, nonatomic, nullable) NSString *addressTitle

Discussion

@property addressTitle

Declared In

KMTLocationTemplate.h

  content

위치에 대해 설명하는 컨텐츠 정보.

@property (copy, nonatomic) KMTContentObject *content

Discussion

@property content

Declared In

KMTLocationTemplate.h

  social

부가적인 소셜 정보.

@property (copy, nonatomic, nullable) KMTSocialObject *social

Discussion

@property social

Declared In

KMTLocationTemplate.h

  buttonTitle

기본 버튼 타이틀(“자세히 보기”)을 변경하고 싶을 때 설정.

@property (copy, nonatomic, nullable) NSString *buttonTitle

Discussion

@property buttonTitle

Declared In

KMTLocationTemplate.h

  buttons

버튼 목록. 기본 버튼의 타이틀 외에 링크도 변경하고 싶을 때 설정. (최대 1개, 오른쪽 “위치 보기” 버튼은 고정)

@property (copy, nonatomic, nullable) NSArray<KMTButtonObject*> *buttons

Discussion

@property buttons

Declared In

KMTLocationTemplate.h