public-roadmap
public-roadmap copied to clipboard
Google Local API - Top local results use gps_coordinates from ad results
I found that the gps_coordinates of the first two local results used the coordinates of the ad results instead.
In the example, the 1st ad and the 1st local result used 29.696683999999998, -95.41171299999999, but the first local result should be 29.61836610, -95.21765280
Looks like when we have ads, we are using ads' coordinates in local results because we are selecting the coords element using index, so selecting first item for local result is giving us first ad.