# GetLocationMeshChunkDataByVpsMapAssetIdAsync Source: https://www.nianticspatial.com/docs/api/unity/NianticSpatial.NSDK.AR.Subsystems.LocationMeshManager.GetLocationMeshChunkDataByVpsMapAssetIdAsync/ GetLocationMeshChunkDataByVpsMapAssetIdAsync --- ## Declaration public IAsyncEnumerable GetLocationMeshChunkDataByVpsMapAssetIdAsync(string vpsMapAssetId, double latitude, double longitude, bool getTexture = false, uint maxChunks = 0, uint maxSizeKb = 0, uint maxDecodedSizeKb = DefaultMaxDecodedSizeKb, bool cancelOnDisable = true) #### Summary Stream mesh chunks for a VPS map asset like GetLocationMeshChunksByVpsMapAssetIdAsync, but yield each chunk's geometry as MeshChunkData instead of building Unity objects for it. #### Remarks Build a chunk GameObject from the yielded data with CreateMeshChunk. ### Parameters | Name | Type | Summary | | --- | --- | --- | | vpsMapAssetId | string | - | | latitude | double | - | | longitude | double | - | | getTexture | bool | - | | maxChunks | uint | - | | maxSizeKb | uint | - | | maxDecodedSizeKb | uint | - | | cancelOnDisable | bool | - | ---