Skip to main content
←API Reference ←NSDK ←NSDKMapStorage

mergeMapUpdate


Declaration​

func mergeMapUpdate(existingMap: NSDKBuffer, mapUpdate: NSDKBuffer) throws -> NSDKBuffer

Summary​

Merges a map update into an existing map.
This method combines incremental map updates with a base map to produce
a merged map buffer containing the complete map data.

Returns​

The merged map buffer

Throws​

  • NSDKError of type NSDKError.invalidArgumentor NSDKError.nullArgument indicating a problem with either argument . Check NSDK's C logs for more information.

Parameters​

NameTypeSummary
existingMapNSDKBuffer
The existing map to merge the update into.
mapUpdateNSDKBuffer
The map update to merge into the existing map.