Skip to content

Commit 5c54c19

Browse files
Update CHANGELOG and upgrade Web SDK to version 4.57.0 in MapTemplate components
1 parent 8255dbd commit 5c54c19

File tree

3 files changed

+7
-4
lines changed

3 files changed

+7
-4
lines changed

packages/map-template/CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1313
- Added a new custom hook `useFloorSelectorToggleObserver.js`.
1414
- Added newly created observer to MapControls.jsx
1515
- `minZoom` can be now configurable via App Config object, otherwise it defaults to 10.
16+
- Upgraded to Web SDK 4.57.0.
1617

1718
## [1.96.19] - 2026-03-26
1819

packages/map-template/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
<meta name="viewport" content="width=device-width, initial-scale=1" />
77
<meta name="theme-color" content="#005655" />
88
<title>MapsIndoors Web</title>
9-
<script defer src="https://app.mapsindoors.com/mapsindoors/js/sdk/4.56.2/mapsindoors-4.56.2.js.gz"
10-
integrity="sha384-AbC6/Ti9R/Fs5vC9Vd+dXtQvBOSMbw7PQ1+xyaL3W5et4ZuNiP1K0GdmoDZvve7G"
9+
<script defer src="https://app.mapsindoors.com/mapsindoors/js/sdk/4.57.0/mapsindoors-4.57.0.js.gz"
10+
integrity="sha384-Hxm9bx6t+2luBNdH7oGaUAgcZH+FMgbKfltKDlJYJsGbFnXcWH0bm6ZigXLgFmQg"
1111
crossorigin="anonymous"></script>
1212
</head>
1313

packages/map-template/src/components/MapTemplate/MapTemplate.jsx

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -240,8 +240,8 @@ function MapTemplate({ apiKey, gmApiKey, mapboxAccessToken, venue, locationId, p
240240
const miSdkApiTag = document.createElement('script');
241241
miSdkApiTag.setAttribute('type', 'text/javascript');
242242
// Remember to update the root index.html with the same version / integrity
243-
miSdkApiTag.setAttribute('src', 'https://app.mapsindoors.com/mapsindoors/js/sdk/4.56.2/mapsindoors-4.56.2.js.gz');
244-
miSdkApiTag.setAttribute('integrity', 'sha384-AbC6/Ti9R/Fs5vC9Vd+dXtQvBOSMbw7PQ1+xyaL3W5et4ZuNiP1K0GdmoDZvve7G');
243+
miSdkApiTag.setAttribute('src', 'https://app.mapsindoors.com/mapsindoors/js/sdk/4.57.0/mapsindoors-4.57.0.js.gz');
244+
miSdkApiTag.setAttribute('integrity', 'sha384-Hxm9bx6t+2luBNdH7oGaUAgcZH+FMgbKfltKDlJYJsGbFnXcWH0bm6ZigXLgFmQg');
245245
miSdkApiTag.setAttribute('crossorigin', 'anonymous');
246246
document.body.appendChild(miSdkApiTag);
247247
miSdkApiTag.onload = () => {
@@ -507,6 +507,8 @@ function MapTemplate({ apiKey, gmApiKey, mapboxAccessToken, venue, locationId, p
507507
* This effect updates the mapOptions state accordingly.
508508
*/
509509
useEffect(() => {
510+
console.log(appConfig?.appSettings);
511+
510512
setMapOptions({
511513
brandingColor: color,
512514
// Ensure showRoadNames and showMapMarkers are booleans, even if appConfig.appSettings.showRoadNames/showMapMarkers is a string

0 commit comments

Comments
 (0)