본문으로 건너뛰기
GDK
메뉴
API 가이드
API 레퍼런스
UI API 가이드
UI API 레퍼런스
테마
밝게
어둡게
자동
목차
Toggle main menu visibility
로딩중...
검색중...
일치하는것 없음
glsVectorTile.h
1
#pragma once
2
3
#include "
gdk_dll/glsExport.h
"
4
#include "
gdk_dll/glsTypes.h
"
5
6
namespace
GDK
{
7
12
class
GDK_DLL_API
glsVectorTileDataset final
13
{
14
public
:
16
~glsVectorTileDataset
();
17
glsVectorTileDataset(
const
glsVectorTileDataset&) =
delete
;
18
glsVectorTileDataset& operator=(
const
glsVectorTileDataset&) =
delete
;
20
glsVectorTileDataset
(glsVectorTileDataset&&) noexcept;
23
glsVectorTileDataset& operator=(glsVectorTileDataset&&) noexcept;
24
32
glsStatus
GetSourceId
(
char
* buf,
size_t
bufSize,
33
size_t
* requiredSize) const noexcept;
39
glsStatus
GetStyleGeneration
(uint64_t* outGeneration) const noexcept;
45
glsStatus
GetStyleJson
(
char
* buf,
size_t
bufSize,
46
size_t
* requiredSize) const noexcept;
51
glsStatus
ReloadStyle
() noexcept;
52
53
private:
54
friend class glsDataset;
55
friend class glsVectorTileLayer;
56
friend
GDK_DLL_API
glsStatus
glsCreateVectorTileLayer
(
57
glsVectorTileDataset* dataset,
58
class glsVectorTileLayer** outLayer) noexcept;
59
60
struct Impl;
61
explicit glsVectorTileDataset(Impl* impl) noexcept;
62
Impl* impl_;
63
};
64
68
GDK_DLL_API
void
glsReleaseVectorTileDataset
(
69
glsVectorTileDataset
* dataset) noexcept;
70
71
}
// namespace GDK
GDK::glsVectorTileDataset
vectortile:// URI로 연 벡터 타일 데이터셋의 스타일을 읽고 갱신합니다.
정의
glsVectorTile.h:13
GDK::glsVectorTileDataset::glsCreateVectorTileLayer
friend glsStatus glsCreateVectorTileLayer(glsVectorTileDataset *dataset, class glsVectorTileLayer **outLayer) noexcept
벡터 타일 데이터셋을 공유하는 지도 레이어를 생성합니다.
GDK::glsVectorTileDataset::~glsVectorTileDataset
~glsVectorTileDataset()
래퍼의 데이터셋 참조를 해제합니다. 다른 객체가 참조하면 데이터셋은 열린 상태입니다.
GDK::glsVectorTileDataset::glsVectorTileDataset
glsVectorTileDataset(glsVectorTileDataset &&) noexcept
이름 없는 이동 인자의 데이터셋 참조를 가져옵니다. 이동한 원본에 대한 호출은 InvalidArgument입니다.
GDK::glsVectorTileDataset::GetStyleGeneration
glsStatus GetStyleGeneration(uint64_t *outGeneration) const noexcept
활성 스타일 교체 때마다 1씩 증가하는 세대를 조회합니다.
GDK::glsVectorTileDataset::GetSourceId
glsStatus GetSourceId(char *buf, size_t bufSize, size_t *requiredSize) const noexcept
타일 캐시에서 타일 소스를 구분하는 식별자를 조회합니다.
GDK::glsVectorTileDataset::ReloadStyle
glsStatus ReloadStyle() noexcept
데이터셋의 스타일 URL에서 다시 다운로드하고 활성 스타일로 적용합니다.
GDK::glsVectorTileDataset::GetStyleJson
glsStatus GetStyleJson(char *buf, size_t bufSize, size_t *requiredSize) const noexcept
활성 Mapbox Style v8 JSON을 UTF-8로 복사합니다.
glsExport.h
SDK의 공유 라이브러리 심볼에 적용할 플랫폼별 선언 특성을 정의합니다.
glsTypes.h
공개 gdk_dll API가 공유하는 값 형식, 결과 코드, 호출 규약입니다.
GDK_DLL_API
#define GDK_DLL_API
Windows에서는 SDK 심볼을 내보내거나 가져오고, 그 외 플랫폼에서는 SDK 빌드의 심볼을 공개합니다.
정의
glsExport.h:20
GDK::glsReleaseVectorTileDataset
void glsReleaseVectorTileDataset(glsVectorTileDataset *dataset) noexcept
벡터 타일 데이터셋 래퍼를 해제합니다.
GDK
glsGdk SDK의 네이티브 C++ API 이름 공간입니다.
정의
glsAttributeTable.h:5
GDK::glsStatus
DLL 경계의 공개 함수가 반환하는 상태입니다.
정의
glsTypes.h:83
gdk_dll
glsVectorTile.h
다음에 의해 생성됨 :
1.18.0