{"title":"LocationOptions overview","url":"https://jonas-paprotka.de/docs/dev-itpro/developer/devenv-location-options/","by":"JOP-AL","license":"Copyright (c) Microsoft Corporation. CC BY 4.0, https://creativecommons.org/licenses/by/4.0/; code samples MIT. From https://learn.microsoft.com/en-us/dynamics365/business-central/dev-itpro/developer/devenv-location-options, MicrosoftDocs/dynamics365smb-devitpro-pb at 828b6ee (2026-11-19). Changed: includes filled in, links to this site, and for agents shortened without dropping a fact.","credit":"Microsoft Corporation, CC BY 4.0","origin":"https://learn.microsoft.com/en-us/dynamics365/business-central/dev-itpro/developer/devenv-location-options","source":{"name":"Business Central developer and IT pro docs","repo":"https://github.com/MicrosoftDocs/dynamics365smb-devitpro-pb","commit":"828b6ee72fcd75755627cd6011f3d20899217ab2","date":"2026-11-19"},"checked":"2026-11-19","description":"Learn about the LocationOptions that you can pass to RequestLocationAsync in AL, including EnableHighAccuracy, Timeout, and MaximumAge, in Business Central.","date":"2026-08-24","meta":{"topic":"overview"},"outline":[{"level":1,"title":"LocationOptions overview","slug":"locationoptions-overview","at":0,"chars":762},{"level":2,"title":"LocationOptions","slug":"locationoptions","at":359,"chars":352},{"level":2,"title":"Related information","slug":"related-information","at":711,"chars":51}],"text":"# LocationOptions overview\nWhen you implement location from AL, you can optionally pass options to `LocationProvider.RequestLocationAsync(options)`. Access the options by using Microsoft.Dynamics.Nav.Client.Capabilities.LocationOptions, which is found in the Microsoft.Dynamics.Nav.ClientExtensions DLL.\nFor most scenarios, you don't need to specify options.\n## LocationOptions\nOption|Description\n`bool EnableHighAccuracy`|A value that provides a hint to the device that this request must have the best possible location accuracy.\n`int Timeout`|The maximum length of time, in milliseconds, that is allowed to pass for a location request.\n`int MaximumAge`|The maximum age, in milliseconds, of a cached location.\n## Related information\ndevenv-implement-location-al"}