Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is the effect of setting sensor true in Google Map APIs? [duplicate]

The Google Places API requests have a sensor parameter? How does this parameter affect the results?

like image 816
TN. Avatar asked Nov 24 '22 18:11

TN.


2 Answers

Edit: The sensor parameter is no longer required, and will now be ignored if it's used.

The parameter doesn't impact the results. It's a parameter that Google is required to collect for Google's data providers who charge differently based on whether the request uses a sensor or not.

see Google docs

like image 70
Mano Marks Avatar answered Nov 27 '22 08:11

Mano Marks


The Google Maps docs have been updated and as of June 2014 and the &sensor parameter is no longer required for JavaScript or Web Service API calls. The parameter will now be ignored if passed along with any request.

docs - https://developers.google.com/maps/documentation/javascript/tutorial

like image 22
crsierra Avatar answered Nov 27 '22 06:11

crsierra