get_vectortile
- get_vectortile(
table_names: string[],
column_names: string[],
layers: Record<string, string[]>,
tile_x: number,
tile_y: number,
zoom: number,
options?: Record<string, string>,
callback?: GPUdbCallback,
): Promise<GetVectortileResponse>Parameters
- table_names: string[]
Names of the tables containing the data for generating vector tiles.
- column_names: string[]
Names of the columns containing geometric feature data.
- layers: Record<string, string[]>
A map of tables to colums from which vector tile layers are being generated.
- tile_x: number
Horizontal tile index.
- tile_y: number
Vertical tile index.
- zoom: number
Zoom level of the tile requested.
Optionaloptions: Record<string, string>Optional parameters.
Optionalcallback: GPUdbCallbackOptional callback function
Returns Promise<GetVectortileResponse>
Promise<Types.GetVectortileResponse> - Promise resolving to the response
- Defined in src/GPUdb.ts:10463
- table_names: string[]
get_vectortile_request
- get_vectortile_request(
request: GetVectortileRequest,
callback?: GPUdbCallback,
): Promise<GetVectortileResponse>For internal use only. Generates the vector tiles requested using the given tables and parameters.
Parameters
- request: GetVectortileRequest
Request object containing the parameters for the operation
Optionalcallback: GPUdbCallbackOptional callback function
Returns Promise<GetVectortileResponse>
Promise<Types.GetVectortileResponse> - Promise resolving to the response
- Defined in src/GPUdb.ts:10429
- request: GetVectortileRequest
For internal use only. Generates the vector tiles requested using the given tables and parameters.