diff options
author | zaultavangar <zaul_tavangar@brown.edu> | 2023-12-11 14:46:58 -0500 |
---|---|---|
committer | zaultavangar <zaul_tavangar@brown.edu> | 2023-12-11 14:46:58 -0500 |
commit | e4eac6e4256dc320f6c767ecbad54b83459c4331 (patch) | |
tree | aa786fdfa921ff6b0be9a7563e6efa985edecc37 /src/client/views/MainView.tsx | |
parent | 18a201d2cab686e350374413630f93cfa4612b11 (diff) |
updates to map feature
Diffstat (limited to 'src/client/views/MainView.tsx')
-rw-r--r-- | src/client/views/MainView.tsx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/client/views/MainView.tsx b/src/client/views/MainView.tsx index ce47a46c3..13f7dc896 100644 --- a/src/client/views/MainView.tsx +++ b/src/client/views/MainView.tsx @@ -71,6 +71,7 @@ import { PreviewCursor } from './PreviewCursor'; import { PropertiesView } from './PropertiesView'; import { DashboardStyleProvider, DefaultStyleProvider } from './StyleProvider'; import { TopBar } from './topbar/TopBar'; +import { DirectionsAnchorMenu } from './nodes/MapBox/DirectionsAnchorMenu'; const _global = (window /* browser */ || global) /* node */ as any; @observer @@ -982,7 +983,7 @@ export class MainView extends React.Component { @observable mapBoxHackBool = false; @computed get mapBoxHack() { return this.mapBoxHackBool ? null : ( - <MapBox + <MapBox ref={action((r: any) => r && (this.mapBoxHackBool = true))} fieldKey="data" select={returnFalse} @@ -1071,6 +1072,7 @@ export class MainView extends React.Component { <RadialMenu /> <AnchorMenu /> <MapAnchorMenu /> + <DirectionsAnchorMenu/> <DashFieldViewMenu /> <MarqueeOptionsMenu /> <TimelineMenu /> |