Skip to main content
The 2024 Developer Survey results are live! See the results

Questions tagged [google-places-api]

The Google Places API is a service that returns information about places using HTTP requests. Places are defined within this API as establishments, geographic locations, or prominent points of interest.

167 votes
7 answers
260k views

ApiNotActivatedMapError for simple html page using google-places-api

I'm trying to create a simple html page (I'd later like to add an autocomplete input there) that include google-places-api. I have an api-key (which is enabled) but I still get an error message. Here ...
Roy's user avatar
  • 2,778
124 votes
13 answers
182k views

This IP, site or mobile application is not authorized to use this API key

I am using https://maps.googleapis.com/maps/api/geocode/json? link with server key and user IP to find the latitude and longitude of any address, when I'm trying I find the error as I have a server ...
user3336944's user avatar
  • 1,259
122 votes
3 answers
86k views

What is the `sensor` parameter for in the Google Places API?

The Google Places API requests have a sensor parameter? How does this parameter affect the results?
TN.'s user avatar
  • 19.5k
102 votes
5 answers
57k views

google places library without map

I am trying to use the google places library for a nearby search request: https://developers.google.com/maps/documentation/javascript/places#place_search_requests i just want to pull the json ...
user985409's user avatar
  • 1,385
58 votes
13 answers
81k views

get Lat Lang from a place_id returned by autocomplete place api

I am searching the place in my apps using the google autocomplete place api and now I want to get latitude and longitude of the place that i have searched. How to get latitude and longitude from the ...
Sajal's user avatar
  • 1,472
58 votes
8 answers
144k views

Google Place API - No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'null' is therefore not allowed access [duplicate]

I am using Google Place API. What I want to get suggestion of place for type helping. So, what I have done is- var Google_Places_API_KEY = "AIzaSyAK08OEC-B2kSyWfSdeCzdIkVnT44bcBwM"; //Get it ...
S M Abrar Jahin's user avatar
53 votes
15 answers
43k views

Android Place Picker closes immediately after launch

I am developing an android application as part of a project, and am using Google places API to display places of interest based on location. I am using the PlacePicker Inentbuilder to accomplish this. ...
Sampath Janardhan's user avatar
51 votes
4 answers
163k views

Show Current Location and Nearby Places and Route between two places using Google Maps API in Android

I need to develop an application using Google Maps in Android to locate my current location and need to find nearest location. (For example: Nearby police station from my current location.) It ...
agiles's user avatar
  • 1,711
51 votes
1 answer
62k views

What is a good, unlimited alternative to Google Places API? [closed]

For my project I've been relying on the Places API to search for POI's based on a desired query string and distance from a given point. As things are scaling up, however, I'm hitting the usage limits ...
rogerrw's user avatar
  • 1,874
49 votes
5 answers
41k views

Getting "The provided API key is expired." error on using Places API

I have generated Server key from Google console for Places API key. But whenever i am hitting the service i am getting " The provided API key is expired " error. I have tried regenerating the key but ...
Android14's user avatar
  • 1,115
46 votes
7 answers
85k views

Obtaining more than 20 results with Google Places API

I want to develop a map application which will display the banks near a given place. I use the Places library to search and everytime it just return 20 results. What should I do if I want more ...
Demon's user avatar
  • 473
46 votes
4 answers
75k views

Detect the nearest transit stop from the given location

I need to get all the nearby public transit information within certain distance from a given location. The type of public transit can be either bus, train, etc.. Here is what I meant: If I use Google ...
Yeo's user avatar
  • 11.7k
46 votes
1 answer
27k views

Google places API - popular times [closed]

Does anybody know if Google expose the new 'Popular times' information in the places API? and if not is there another API I can use to get a locations popularity?
colinl's user avatar
  • 461
42 votes
8 answers
41k views

How to get all places (or specific type of place such as a restaurant) in a city or country with Google Places API?

I am trying to find all "restaurants" or "insurance agencies" for example, in a city or country. Okay, maybe a country is too broad but mainly large cities. I am using the Google Places API and ...
Marcus Johnson's user avatar

15 30 50 per page
1
2 3 4 5
391