사용자 인증 정보를 가지는 interface

interface IMapDataOption {
    authToken?: string;
    baseUrl?: string;
    clientId?: string;
    clientSecret?: string;
    localPath?: string;
    mapData?: any;
    mapId?: string;
    serverType?: SERVER_TYPE;
    version?: string;
}

Properties

authToken?: string

preview 용 token 'refresh token' or 'access token'

baseUrl?: string

serverType === SERVER_LOCAL일 때 poi, marker 와 같은 이미지의 url 경로가 상대 경로일 때 사용함 map data가 있는 path(url) map id 와 함께 사용해야 함

Example

   poi.iconUrl = `${this.baseURl}${poi.iconUrl}`;
clientId?: string

map client id

clientSecret?: string

map client secret

localPath?: string

serverType이 SERVER_LOCAL일 때 map data가 있는 local path map id 없이 사용하며 로컬 지도 데이터에 있는 url 그대로 호출하여 사용함

Example

  poi.iconUrl = `${poi.iconUrl}`
mapData?: any

serverType 이 SERVER_LOCAL일 때 mapData를 직접 주입하는 옵션

mapId?: string

mapId

serverType?: SERVER_TYPE

map connect server type 'SERVER_REAL' | 'SERVER_STAGE' | 'SERVER_LOCAL' | 'SERVER_STUDIO4' | 'SERVER_STUDIO4_STAGE' 값 중 하나 입력 default는 SERVER_REAL

version?: string

map version