Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,11 @@ $desktop-breakpoint: 992px;
}
}

}

.mapsindoors-map--kiosk {
.mapboxgl-ctrl-logo,
.mapboxgl-ctrl-attrib {
pointer-events: none;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ import { GeminiProvider } from '../../providers/GeminiProvider';
import ChatButton from '../ChatButton/ChatButton';
import mapTypeState from '../../atoms/mapTypeState.js';
import { mapTypes } from '../../constants/mapTypes.js';
import { useIsKioskContext } from '../../hooks/useIsKioskContext.js';

// Define the Custom Elements from our components package.
defineCustomElements();
Expand Down Expand Up @@ -225,6 +226,7 @@ function MapTemplate({ apiKey, gmApiKey, mapboxAccessToken, venue, locationId, p
const setErrorMessage = useSetRecoilState(notificationMessageState);

const mapType = useRecoilValue(mapTypeState);
const isKiosk = useIsKioskContext();

/**
* Ensure that MapsIndoors Web SDK is available.
Expand Down Expand Up @@ -816,6 +818,7 @@ function MapTemplate({ apiKey, gmApiKey, mapboxAccessToken, venue, locationId, p
${currentAppView === appStates.DIRECTIONS ? 'mapsindoors-map--hide-elements' : 'mapsindoors-map--show-elements'}
${(venuesInSolution.length > 1 && showVenueSelector) ? '' : 'mapsindoors-map--hide-venue-selector'}
${showPositionControl ? 'mapsindoors-map--show-my-position' : 'mapsindoors-map--hide-my-position'}
${isKiosk ? 'mapsindoors-map--kiosk' : ''}
${(currentAppView === appStates.CHAT && !isDesktop) ? 'mapsindoors-map--hide-map-controls' : ''}`}>
<Notification />
{!isMapReady && <SplashScreen />}
Expand Down