serpapi / public-roadmap

Public Roadmap for SerpApi, LLC (https://serpapi.com)
54 stars 5 forks source link

[Google Maps API] Data Not Parsed for a Valid Location #1840

Open schaferyan opened 2 months ago

schaferyan commented 2 months ago

An Enterprise Customer shared an example of a Google Maps Search for an address that returns results when using Google Maps directly, but returns empty when using our Google Maps API.

I verified that changing ll seems to have no effect on this behavior.

When performing the search in Google, I noticed the map seems to return first, and then the local results data a moment later. It may be that for some searches an additional call is needed to get the local results data.

Screenshot 2024-08-13 at 2 42 24 PM Screenshot 2024-08-13 at 2 47 04 PM Screenshot 2024-08-13 at 2 47 17 PM

Front | Google Maps | Playground | Inspector

hilmanski commented 2 months ago

@schaferyan , When I change the ll to Wyoming coordinates, I'm able to see the result.

CleanShot 2024-08-15 at 06 27 43

Playground | Inspect

aciddjus commented 2 months ago

@schaferyan , When I change the ll to Wyoming coordinates, I'm able to see the result.

Same search, no results: Inspect

aciddjus commented 2 months ago

Possibly related to: https://github.com/serpapi/SerpApi/issues/4440

Maps would sometimes serve JSON results through https://www.google.com/search?tbm=map endpoint.