Auto suggestion in Google Maps is not same at web and API - google-maps

I get the program with the clumsiness of data appearance on the google API,
because if we do a direct address search on maps.google.com then the suggestion data will appear more, on the contrary if using the display API suggestion less, well how to display the suggestion API can be in accordance with the results suggestion search on maps.google.com
for the demo here: http://dzkrrbb.com/demo/gojek/
120/5000
enter the place name in the address like my example "masjid al ihsan", then compare the result on maps.google.com

I think that you are using Geocoding API instead of Place Autocomplete.
If you type "masjid al ihsan" in this link, you get the same results that Google Maps.

Related

Google Maps API image

How to get the image when searched address in google maps?
While searching addresses in google search it displays the address, rating and image in the left side. I am using the google map api in my application, it's getting only Address and rating,but not image.
Can you provide your feedback,how to get images by using google maps api.
In the Google Places API, you can use the Place Search and Place Details to get a photos of a specific place.
You can see a photo_reference here that is used to identify the photo when you perform a Photo request.
Now, you can use the Place Photo Requests to get the image of the photoreference that you get.
Here is the sample request.
https://maps.googleapis.com/maps/api/place/photo?maxwidth=400&photoreference=CnRtAAAATLZNl354RwP_9UKbQ_5Psy40texXePv4oAlgP4qNEkdIrkyse7rPXYGd9D_Uj1rVsQdWT4oRz4QrYAJNpFX7rzqqMlZw2h2E2y5IKMUZ7ouD_SlcHxYq1yL4KbKUv3qtWgTK0A6QbGh87GB3sscrHRIQiG2RrmU_jF4tENr9wGS_YxoUSSDrYjWmrNfeEHSGSc3FyhNLlBU&key=YOUR_API_KEY

Places Autocomplete: Must I use a Google map if I Geocode the result with Apple?

Trying to implement a search feature for USA cities in my IOS app. My goal is to use Google's Autocomplete API while legally avoiding the use of a Google map.
So, if I use Places Autocomplete API to display a list of suggested cities as the user types do I have to use a Google map if I geocode the chosen autocomplete result through apple with CLGeocoder?
Google says you must use their data in their maps. However, if I geocode through Apple to retrieve the coordinates for display on a map, the map data isn't coming from Google. Is this legal?
I know Airbnb uses Googles places api but they use Apple maps.
According to Places API Policies:
If your application displays Google Places API Web Service data on a map, that map must be provided by Google.
If your application displays Google Places API Web Service data on a page or view that does not also display a Google Map, you must show a "Powered by Google" logo with that data. For example, if your application displays a list of places on one tab, and a Google Map with those places on another tab, the first tab must show the "Powered by Google" logo.
So you can use Places autocomplete without a Google map, but in this case the logo is required.
https://developers.google.com/places/web-service/policies

Use Feature ID from Google Maps url in Google Maps API

If a place is selected on Google Maps, either from the map itself or from the dropdown in a search, on Google Maps, the url looks like this:
https://www.google.com/maps/place/Starbucks/#55.6767263,12.5666291,17z/data=!3m1!4b1!4m2!3m1!1s0x4652530e00cbee81:0x5e1ce2a9639f9705
After reading this blog article about the URL parameters, the /data part contains a wide range of information, among them is the Feature ID of the selected place. From the url example it's 0x4652530e00cbee81:0x5e1ce2a9639f9705.
I can look up the Feature ID on Google Mapmaker like this:
http://www.google.com/mapmaker?gw=39&fid=0x4652530e00cbee81:0x5e1ce2a9639f9705
There it displays the location with no problem.
Is it possible to also use the Feature ID in Google Maps API and display the location?
I don't believe you can use Feature ID to display locations in Google Maps API. Based on the Data.Feature class, it seems to be more used for styling and data layers.

form linked to google maps with jquery

I am trying to design a travel agency site. such that when a client enters his destination. example:
from: London
To: Dubai
then click submit the google jquery map will show the link between this two countries on that same page.
I have been trying to get around it for a while but it seems so difficult but I beleive some one must have done or carried out such before.
Google Maps API V3 is the solution you are looking for. Have a look at Direction API of Google Maps API V3, that will help you to develop a site like which you have specified.
Have a look at the following example. Might be this will help you out.
Google Sample Code
Example 2

Google Map : Can we add a link to get directions from current location?

Here's what I would like to do :
http://www.google.com/maps?start=geolocalize_me&destination=some address here
Google would know that the keyword "geolocalize_me" means that it should geolocalize the person and adds the direction afterwards.
Is it possible?
You would want to use the Google Maps API and the directions service, along with HTML5 geolocation. You shouldn't try to link directly to directions in maps.google.com as parameters are undocumented and subject to change.
Here's a sample that uses geolocation to find a users current position.