Skip to content

Commit

Permalink
Remove problematic "x" symbol from those available in 3D
Browse files Browse the repository at this point in the history
  • Loading branch information
ceriottm committed Oct 17, 2024
1 parent 6a85476 commit 6a2a75d
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions src/map/options.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,7 @@ import HTML_OPTIONS from './options.html.in';
// in 3D mode, only strings are supported for 'marker.symbol', and only very few
// of them. See https://github.com/plotly/plotly.js/issues/4205 as the plotly
// issue tracking more symbols in 3D mode.
const POSSIBLE_SYMBOLS_IN_3D = [
'circle',
'square',
'diamond',
'cross',
'circle-open',
'square-open',
];
const POSSIBLE_SYMBOLS_IN_3D = ['circle', 'square', 'diamond', 'cross'];

export function get3DSymbol(i: number): string {
return POSSIBLE_SYMBOLS_IN_3D[i % POSSIBLE_SYMBOLS_IN_3D.length];
Expand Down

0 comments on commit 6a2a75d

Please sign in to comment.