LocationProps interface

Warning

This API is now deprecated.

Data Structure to set the location properties in getLocation call.

Properties

allowChooseLocation

whether user can alter location or not if false, user will be shown current location and wouldn't be allowed to alter it

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.

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