Repository navigation
[4.24.1] 2026-11-04
Added
MPMapsIndoors.registerMapboxBaseMapCache()lets an app cache base-map tiles withsynchronizeBaseMapTilesbefore it creates a map. Call it on the main thread, and setMapboxOptions.accessTokenbefore syncing. Until a map exists, the MapsIndoors style is cached, so an app that uses its own style should create its map first [Mapbox only].MPFloorSelectorControl.bottomInsetkeeps space at the bottom of the map for the app's own controls, such as a locate button or a tab bar. Unless the app manages the floor selector's layout itself, the selector stops above it.
Changed
- An unset
MPFloorSelectorControl.maxHeightnow follows the superview's height, including after a rotation, and reading it returns the height in effect. Setting it to0returns the selector to its automatic height; a value the app sets is used as given.
Fixed
- With
mapPaddingset and the user's position shown, the SDK now selects the building the user is in when the app moves the camera to keep the user at its center. Near a neighboring building, it could select that building instead and show its floors in the floor selector [Mapbox only]. - The floor selector no longer runs past the bottom of a short screen or a landscape screen, where its lowest floors could be hidden. It always shows at least one floor, and keeps the selected floor in view.
- Walls and extruded rooms no longer change shape or flicker while the map is panned or zoomed, most visibly at lower zoom levels [Mapbox only].