From 202cce7d628baaf4bb2c863e8dfdd26633de3d24 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zbigniew=20Zag=C3=B3rski?= Date: Wed, 8 May 2024 16:44:28 +0200 Subject: [PATCH] fetchMap/mapStyle: add deprecation warning --- modules/carto/src/api/parse-map.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/carto/src/api/parse-map.ts b/modules/carto/src/api/parse-map.ts index 18fa0cc995a..0eb43e1a370 100644 --- a/modules/carto/src/api/parse-map.ts +++ b/modules/carto/src/api/parse-map.ts @@ -33,6 +33,7 @@ export function parseMap(json) { createdAt: json.createdAt, updatedAt: json.updatedAt, initialViewState: mapState, + /** @deprecated Use `basemap`. */ mapStyle, token, layers: layers.reverse().map(({id, type, config, visualChannels}) => {