diff --git a/src/components/widgets/background/PhotoInformation.jsx b/src/components/widgets/background/PhotoInformation.jsx index d7d9bfe4..6e00f871 100644 --- a/src/components/widgets/background/PhotoInformation.jsx +++ b/src/components/widgets/background/PhotoInformation.jsx @@ -162,6 +162,11 @@ function PhotoInformation({ info, url, api }) { ); }; + let photoMapClassList = 'map-concept'; + if (usePhotoMap) { + photoMapClassList += ' photoMap'; + } + // only request map image if the user looks at the photo information // this is to reduce requests to the api try { @@ -204,8 +209,8 @@ function PhotoInformation({ info, url, api }) { onMouseEnter={() => setshowExtraInfo(true)} onMouseLeave={() => setshowExtraInfo(false)} > -