You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Documentation. Guides for every part of the API, from getting started to export, are on immersivemap.dev/documentation. On macOS, a sandboxed app needs Outgoing Connections (Client), or the globe stays black.
The tile archive's depth. The map reads how deep the archive goes from its header. .tileMaximumZoomLevel(_:) is now an optional cap.
One settings API.ImmersiveMapSettings takes every parameter the view's modifiers take, so a configuration built in one place is the same as one written on the view.
Defaults. The relief is off, so a bare map loads no terrain. The camera's one-thumb touch zones are on. The maximum camera zoom is 20.
Look. Names are drawn a little transparent with a soft halo. Trees stand where OpenStreetMap maps a single tree. Zoom 14 buildings no longer draw twice where zoom 15 tiles stand. The attribution sits at the very bottom of a map under the safe area.
Fixes. A crash from a NaN normal at a building's corner is fixed, and the library builds without warnings.
Breaking: sources apart from their settings. The terrain is an ImmersiveMapTerrainSource set with .terrain(_:), no longer parameters of .groundRelief(...). .modelArchive(_:headers:) names only the archive, and .modelArchiveSettings(...) tunes the models.
Breaking: removed API..camera(_:), .camera(_:position:) and .cameraController(_:position:) are gone: use .cameraPosition(_:) and .cameraController(_:). ImmersiveMapView(settings:) is the only initializer. The landmarks (ImmersiveMapLandmark, .landmarks(_:)) are gone, and the model archive replaces buildings. The URL cache flag and the memory cache size are gone from CacheSettings.
Breaking: byte counts..preparedTileDiskCacheSize(_:) takes an ImmersiveMapByteCount, as in .gigabytes(2).
Label languages. The built-in font draws Latin and Cyrillic letters only. A language in another alphabet, such as Japanese, shows the English names.