From 669fbb43895fc6574e02d560df8108a10a322283 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Javier=20Arag=C3=B3n?= Date: Thu, 11 Apr 2024 14:57:27 +0200 Subject: [PATCH] CARTO: added the deckGl version to the map instantiation request (#8783) Co-authored-by: thedae --- modules/carto/src/api/common.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/modules/carto/src/api/common.ts b/modules/carto/src/api/common.ts index 96454179ce3..c583b39a197 100644 --- a/modules/carto/src/api/common.ts +++ b/modules/carto/src/api/common.ts @@ -1,10 +1,13 @@ +import {VERSION} from '@deck.gl/core'; + export const DEFAULT_API_BASE_URL = 'https://gcp-us-east1.api.carto.com'; export const DEFAULT_CLIENT = 'deck-gl-carto'; export const V3_MINOR_VERSION = '3.4'; export const MAX_GET_LENGTH = 8192; export const DEFAULT_PARAMETERS = { - v: V3_MINOR_VERSION + v: V3_MINOR_VERSION, + deckglVersion: VERSION }; export const DEFAULT_HEADERS = {