# mergeUpdate Source: https://www.nianticspatial.com/docs/api/kotlin/com.nianticspatial.nsdk.mapping.MappingStorageSession.mergeUpdate/ mergeUpdate --- ## Declaration fun mergeUpdate(existingMap: ByteArray, mapUpdate: ByteArray): ByteArray? #### Summary Merge a map update into an existing map. Combines incremental map updates with existing map data to create an updated complete map dataset. #### Returns The merged map data if successful, or null if no merged map data exists. #### Throws ArdkNullArgumentStatusException -- or ArdkInvalidArgumentStatusException indicating a problem with the map argument. Check ARDK's C logs for more information. ---