Search code examples
google-mapsgoogle-maps-api-3google-maps-markers

Google map is showing different location while searching a address


I build the application for car pooling, in which i have used Google map to search the ride. Every thing is working fine expect one strange thing is happening when i am searching for a address in Google map, official site is showing marker at some different location For Example:-

suppose i am searching for:" Manhattan Associates India Dev Center, EPIP Zone, Bangalore, Karnataka, India"

official site is showing marker at the correct location but in my site it is showing marker at some different place,I inspect the response of the route request using console.log in which start address is coming as "EPIP Zone, Bangalore, Karnataka, India" . I don't know why complete address is not coming.Please help me for this strange thing.


Solution

  • Google Maps shows 2 results for that query (and provides 8 additional matches...)

    That location is in the Places database.

    But as there is no "address" the geocoder can't find it. You can use the geographic coordinates from the Places result.