Skip to main content
API Reference SwiftyNsdk 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.


ON THIS PAGE