From 153e689c0a7cb4d0334dd261f5342928700ff2ca Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zbigniew=20Zag=C3=B3rski?= Date: Tue, 16 Jan 2024 13:20:15 +0100 Subject: [PATCH] carto: fetchLayerData to support columns prop for query sources --- modules/carto/src/api/maps-api-common.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/carto/src/api/maps-api-common.ts b/modules/carto/src/api/maps-api-common.ts index 01a3dccab69..33670b1226d 100644 --- a/modules/carto/src/api/maps-api-common.ts +++ b/modules/carto/src/api/maps-api-common.ts @@ -21,7 +21,7 @@ export const MAP_TYPES = { RASTER: 'raster' } as const; export type MapType = ValuesOf; -export const COLUMNS_SUPPORT: MapType[] = [MAP_TYPES.TABLE]; +export const COLUMNS_SUPPORT: MapType[] = [MAP_TYPES.QUERY, MAP_TYPES.TABLE]; export const GEO_COLUMN_SUPPORT: MapType[] = [MAP_TYPES.QUERY, MAP_TYPES.TABLE]; // AVAILABLE FORMATS