Skip to content

Commit

Permalink
CARTO: added the deckGl version to the map instantiation request (#8783)
Browse files Browse the repository at this point in the history
Co-authored-by: thedae <thedae@gmail.com>
  • Loading branch information
padawannn and thedae authored Apr 11, 2024
1 parent 9afa19c commit 32c5a6d
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion modules/carto/src/api/common.ts
Original file line number Diff line number Diff line change
@@ -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 = {
Expand Down

0 comments on commit 32c5a6d

Please sign in to comment.