Skip to main content
API Reference NSDK NSDKMapStorage

mergeMapUpdate

Merges a map update into an existing map....

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.
- Parameter existingMap: The existing map to merge the update into.
- Parameter mapUpdate: The map update to merge into the existing map.
- 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.