LocationProps interface
Warning
This API is now deprecated.
Data Structure to set the location properties in getLocation call.
Properties
allow |
whether user can alter location or not if false, user will be shown current location and wouldn't be allowed to alter it |
show |
whether selected location should be shown to user on map or not. If allowChooseLocation is true, this parameter will be ignored by platform. If allowChooseLocation is false, and this parameter is not provided, default value will be false. |
Property Details
allowChooseLocation
whether user can alter location or not if false, user will be shown current location and wouldn't be allowed to alter it
allowChooseLocation: boolean
Property Value
boolean
showMap
whether selected location should be shown to user on map or not. If allowChooseLocation is true, this parameter will be ignored by platform. If allowChooseLocation is false, and this parameter is not provided, default value will be false.
showMap?: boolean
Property Value
boolean
Обратная связь
https://aka.ms/ContentUserFeedback.
Ожидается в ближайшее время: в течение 2024 года мы постепенно откажемся от GitHub Issues как механизма обратной связи для контента и заменим его новой системой обратной связи. Дополнительные сведения см. в разделе:Отправить и просмотреть отзыв по