Searching for service area businesses using Google API - google-maps

I'm trying to understand a problem that I'm having at the moment,
I created a Google map on my web app so my users can search for their businesses,
It appears that they can search and find only businesses with a precise location,
Service area businesses cannot be found using my map,
This is the link to my map on my server: My Map
Then I found a Google link that I can find also the service area businesses,
This is the link to the Google Map: Google Map
I compared (vimdiff) the source codes of the two links and they are the same,
So my question is why I can't see service area businesses on my map ?

Service Area Businesses are not available for Places API users and this is Google's decision. There was a feature request to enable SABs in Places API, but unfortunately Google rejected it.
You can read more here: https://issuetracker.google.com/issues/35828187
I copy the last answer from Google:
The Places API team has reviewed this feature request and decided against including Service Area Businesses results in API responses.
Places API mission is to enable developers to help users find relevant places to visit. Since Service Area Businesses are not places users can visit, and therefore do not belong in the Places API.
The ability to find Service Area Businesses have been removed from https://developers.google.com/maps/documentation/javascript/examples/places-placeid-finder to be consistent with the funtionality generally available in the Places API. Google My Business users can still find Place IDs for their Service Area Businesses using a dedicated PlaceID Lookup Tool at https://developers.google.com/my-business/content/faq#associate_locations_using_placeid_1
We do acknowledge there is demand for this feature and will look into accommodating it in the future. To this end, we would appreciate if you shared specific use cases and business needs that this feature would enable for you.
Referring to the Google My Business find place ID page, they use their own Cloud project where this feature is available, but no way for Google Maps API users to get this.
I hope my answer clarifies your doubt!

Related

Google Maps API - Number of customers for places

I'm reading the documentation of GM-APIs, I found the section relative to "Places", but I can't find anything to get the information about the per-hour number of customers for a certain place.
Do you know whenever you search a place on GMaps, there is an indication of the frequency of customers, in that way you can know if the place will be busy or empty.
Is there any way to retrieve that information through Google Maps API?
Currently, there is no available feature in Google Maps API that could get the exact number or the of people in an establishment to determine its busiest time of the day.
However, there is an existing Feature Request in Google Map Platform's Public issue tracker to expose the place's popular times which seems to be related to the feature you are looking for.
Here's the link to that feature request: https://issuetracker.google.com/35827350. You can star/favorite this feature request and feel free to leave a comment there regarding your use case for additional information as well.

Understanding Requests from Google Places API for Web w Place Autocomplete

We are considering using Google Places API for a new web application project and I believe we are vastly underestimating the number of requests we would use.
We would be using place search, Maps JavaScript API map load to grab Place IDs from Google as well as Place Autocomplete to help users find the defined location. So my questions are:
Would the Autocomplete be considered a request on every keystroke?
Would if also be a request when we select the suggestion (Places API)
and update to Map?
I have seen that with the premium Plan autocompletes use 0.1 Maps API Credit, while JavaScript API map load is 1 and Places API is 2 credits. Trying to understand how to count before the 150k limit and after
As mentioned in the comment of your question, Google is making some drastic changes to their collective maps API usage rates. Starting June 11th, the new pricing will go into effect.
Would the Autocomplete be considered a request on every keystroke?
As of now, places autocomplete is counted on every keystroke. Starting June 11th, you have the option to switch to session-based billing. They have different pricing rates which can be see in the pricing sheet link. Depending on your application, you'll want to use the option that minimizes API calls. I think if your use case is one time selecting of location by your users then you're better off with billing by keystroke.
Would if also be a request when we select the suggestion (Places API)
and update to Map?
Selecting a suggestion from Places API would not incur an API request (requesting the suggestions does), but updating a google map using the Map API would use an API request.
The 150k daily limit is going away in favor of the new billing rates, so I would suggest you look into that now. There are some free unlimited services still offered, like the Google Maps Embed API. Loading a map using the Embed API is not counted towards any billing (as of now).

List businesses - Google Maps APIs Terms of Service

The website I am working on should keep a list of many businesses located at different cities. I add those business manually into my database, and later need to display them with Google Maps using markers (so the main purpose of the map is to display a list of businesses). The map is public and no fees are charged. I am not retrieving businesses' information from Google. What I do not understand is whether I am allowed to use Google Maps to display a list of businesses or not.
I can not quite understand this point of their ToS
10.2 (b) No Business, Residential, or Telephone Listings Services. You must not display business listings Content in any Maps API Implementation that has the primary purpose of making available business, residential address, or telephone directory listings.
Does this basically say that I can implement a service to list businesses, but I cannot query Google to obtain information about other businesses and add them to my own list?
Thank you
Firstly I am not a lawyer but I have taken a good look at the Google Maps licensing and I would read it the opposite way that you have read it. I think that displaying business listings on a Google map violates their ToS.
10.2 Restrictions on the Types of Applications that You are Permitted to Build with the Maps API(s). Except as explicitly permitted in Section 8 (Licenses from Google to You) or the Maps APIs Documentation, you must not (nor may you permit anyone else to) do any of the following:
....
(b) No Business, Residential, or Telephone Listings Services. You must
not display business listings Content in any Maps API Implementation
that has the primary purpose of making available business, residential
address, or telephone directory listings.
It seems to me the criteria that is being evaluated is the type of service you are offering and if the type of offering is a business listing service (which it sounds like you service is) then you are not allowed to use the Google map API. This makes sense as it would be hard to differentiate that sort of business listing from the service that Google provide.
However, there are a number of free options you could use to put markers on maps that you should look at which avoid this issue. These include:
OpenLayers
GeoExt
PolyMaps
Leaflet
As you have created your own database I suggest you to create a web service of it and then use that data to display it on map.
Refer this link..This one is the best for your question. It explain each every steps from DB to Google Maps.
https://developers.google.com/maps/articles/phpsqlsearch_v3
Another thing which you can do is that you can upload the bulk data on Google's Places and then you can use Google's Places API to fetch the data. But one thing which you i would like to point is that if you use Places API then it will provide you maximum 20 results. Refer this links.
Bulk data upload
Hope this will help you....

Using Google maps API with CloudMade maps

I'm developing an iPhone app that uses a map and show direction between two points on the map, the problem is i cant use the Google maps because it does not support street naming in my country, so instead I'm using CloudMade maps.
The question is can i still query Google servers with direction requests and use the results on the CloudMade map? Is the Google license allows it?
According to Google's terms of service you cannot place any content obtained from Google's service on any other map without written permission from Google.
10.1.1
(g) No Use of Content without a Google Map. You must not use or
display the Content without a corresponding Google map, unless you are
explicitly permitted to do so in the Maps APIs Documentation, or
through written permission from Google. For example, you must not use
geocodes obtained through the Service except in conjunction with a
Google map, but you may display Street View imagery without a
corresponding Google map because the Maps APIs Documentation
explicitly permits you to do so.
I would contact Google, they may be able to work with you in your situation.
Update:
Google contact information is a bit sparse for free maps.
Here is a link to the permissions tool:
http://www.google.com/intl/en/permissions/geoguidelines.html
This is a link to Google Enterprise support:
http://www.google.com/support/enterprise/bin/answer.py?answer=142244#maps
Or you may want to try and contact a Google office in your country if one exists. I do not believe their legal department has a direct contact information for the public.
http://www.google.com/intl/en/about/corporate/company/address.html
An here is the Google premier sales contact information. I don't think you would need to obtain a premier license (they are expensive) with the information you provided about your app but the sales representative may be able to point you in the right direction.
http://www.google.com/support/enterprise/bin/request.py?contact_type=gme&utm_campaign=en-codepremier

Google Places API vs AJAX Search API and Local Search Control

I've started developing a small app which main goal is to draw a map using Google Maps API (v3), and to show business in the area drawn (bars, restaurants and so on).
I found the Google Places API that was supposed to be released this month but it hasn't been. As far as I know the point of that API is to offer results from the Google's database of business, so later we could put those business in the map.
However now I've found this sample which is using the AJAX Search API and Local Search Control for Google Maps to do the same thing.
So the question is, what is the point of the new Google Places API?
Thank you in advance!
The Places API returns a list of locations near a specific lat/lng, while the Local Search API allows for an arbitrary search of Google's database of business listings and other POIs.