Skip to content

v11.22.4

Choose a tag to compare

Mapbox Maps SDK for iOS — 11.22.4

Bug fixes 🐞

  • Style import configuration lost after updating an import's URL
    Calling StyleManager.updateStyleImport(withId:uri:config:) kept the outgoing import in place while the new one loaded in the background, so any configuration set in the meantime — for example via setStyleImportConfigProperty(for:config:value:) — was applied to the outgoing import and discarded once the new one swapped in. Style imports are now updated in place, so configuration changes made while a new import is loading are no longer lost.

  • Elevated lines could disappear over terrain on pitched maps
    Lines using LineLayer.lineElevationReference or a non-zero LineLayer.lineZOffset could vanish on the tiles nearest the camera when the map was pitched with terrain enabled. The frustum-culling check used to skip off-screen line tiles didn't account for the line's elevation offset, so its bounding box no longer matched the line's actual position and nearby tiles were wrongly culled. The bounding box now factors in the elevation offset, so elevated lines stay visible.

  • Rare crash when a network request was cancelled
    Aborting an in-flight HTTP request — for example when cancelling a tile or resource download — could crash the app if a chunk of data arrived from the network in the same moment the request was being torn down. The abort path cleared the completion callback but left the underlying streams active, so a late chunk tried to invoke the now-empty callback and crashed. The streams are now torn down before the callback is cleared, so any data arriving after cancellation is safely discarded.

Dependencies

  • Update MapboxCommon to 24.22.4.
  • Update MapboxCoreMaps to 11.22.4.

Dependency requirements:

  • Compatible version of Xcode: 16.4