‘item.geometry.location.kb’ and ‘item.geometry.location.jb’ returning undefined

Don’t use undocumented properties of the Google APIs. They can and do change with every release.

geometry.location is a google.maps.LatLng object, and the documented methods to get latitude and longitude are .lat() and .lng().

Leave a Comment