# TryStopLocalize Source: https://www.nianticspatial.com/docs/api/unity/NianticSpatial.NSDK.AR.XRSubsystems.XRVps2Subsystem.TryStopLocalize/ TryStopLocalize Stops localizing against previously requested sites. --- ## Declaration public bool TryStopLocalize(string siteId = null) #### Summary Stops localizing against previously requested sites. #### Remarks Unregisters the site's assets, removes their anchors, and removes the map data they seeded. Call it before the subsystem stops so the site's maps are not localization targets across a later start. Requests for the site still in progress are cancelled, and their localization request records end as failed. #### Returns True if the request was dispatched. ### Parameters | Name | Type | Summary | | --- | --- | --- | | siteId | string | The site to stop localizing to, or null for every site requested in this session. | ---