Support Topics Documentation Slack YouTube Blog

Location address based on latitude and longitude

Hello,

Is there a method available to resolve the geolocation to a physical street address and save the address to the backend?

Hello,

Backendless provides an ability to save GeoPoint with any meta data, so if your point with specific lat/lon has an information about street address you can handle it
But I guess you are looking for a way like Google Geocoding

Regards, Vlad

in Javascript it used in the following way:

  new window.google.maps.Geocoder().geocode({ location: { lng: geo.longitude, lat: geo.latitude } }, (results, status) => {
        if (status === 'OK') {
          resolve(results)
        } else {
          reject(new Error(status))
        }
      })