Skip to content

Commit

Permalink
address comments
Browse files Browse the repository at this point in the history
  • Loading branch information
Pessimistress committed Jan 7, 2025
1 parent cd782ae commit d55d144
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions modules/mapbox/src/deck-utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,9 @@ function getProjection(map: Map): 'mercator' | 'globe' {
if (type === 'globe') {
return 'globe';
}
if (type && type !== 'mercator') {
throw new Error('Unsupported projection');
}
return 'mercator';
}

Expand Down

0 comments on commit d55d144

Please sign in to comment.