Skip to content

Commit

Permalink
fetchMap/mapStyle: add deprecation warning
Browse files Browse the repository at this point in the history
  • Loading branch information
zbigg committed May 8, 2024
1 parent b1eec58 commit 202cce7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions modules/carto/src/api/parse-map.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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}) => {
Expand Down

0 comments on commit 202cce7

Please sign in to comment.