We are using Oracle APEX and with Google API MAPS This Application has
been working fine for the past year.  We discovered this month that
our location and distance is not working anymore. We get an error
shown below with line that error is referring to can you please help.
We have large demo in two days of Application.


Error: Unable to get value of the property 'Locality': object is null
or undefined

location1 = { lat: response.Placemark[0].Point.coordinates[1], lon:
response.Placemark[0].Point.coordinates[0], address:
response.Placemark[0].address, street:
response.Placemark[0].AddressDetails.Country.AdministrativeArea.SubAdministrativeArea.Locality.Thoroughfare.ThoroughfareName,
city:
response.Placemark[0].AddressDetails.Country.AdministrativeArea.SubAdministrativeArea.Locality.LocalityName
 };

But App partially works if I replace with this

location1 = { lat: response.Placemark[0].Point.coordinates[1], lon:
response.Placemark[0].Point.coordinates[0], address:
response.Placemark[0].address };

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps API V2" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-maps-api?hl=en.

Reply via email to