Parameters
- zoom
- System.Boolean
{
await QueuedTask.Run(() =>
{
if (!MapDeviceLocationService.Instance.IsDeviceLocationEnabled)
{
//Calling ZoomOrPanToCurrentLocation w/ no Device Location Enabled
//Will throw an InvalidOperationException
return;
}
// true for zoom, false for pan
MapDeviceLocationService.Instance.ZoomOrPanToCurrentLocation(true);
});
}
Target Platforms: Windows 11 Home, Pro, Enterprise (64 bit)