Contents

getsUserLocation

A Boolean value that indicates whether to limit the results to the user’s location, according to the web browser.

Declaration

getsUserLocation?: boolean;

Discussion

If you set this value to true, the request queries the browser for the user’s location to deliver relevant local results. The default value is false.

This value may not have an effect on some services.

See Also

Search Initialization