From 3bf05566d82a4e01c47acd79084af57344d05998 Mon Sep 17 00:00:00 2001 From: stdavis Date: Tue, 5 Mar 2024 15:19:25 -0700 Subject: [PATCH] chore: move legend to be next to layer selector Closes #652 --- src/components/Map.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/Map.jsx b/src/components/Map.jsx index 2b625242..d867acbc 100644 --- a/src/components/Map.jsx +++ b/src/components/Map.jsx @@ -185,7 +185,7 @@ export default function MapComponent() { (expanded) => expanded && logEvent('view-legend'), ); - view.current.ui.add(legend, 'top-left'); + view.current.ui.add(legend, 'top-right'); view.current.on('click', (event) => { view.current.hitTest(event).then(({ results }) => {