Support Topics Documentation Slack YouTube Blog

Cant save GeoPoint to database

Hello. Here is my question.
a have in object address.location ( GeoPoint )


and i cant save it . Here is my code.
what can be wrong? am i stupid?))

Hello,

You’re using the Database API to save your GeoPoint. However, when working with geolocation data, you should be using the Geolocation API:
https://backendless.com/docs/ios/geo_adding_a_geo_point.html

Regards,
Mark

Cant understand how i can set pointer where in my DB necessary tables where i want to save my geoObjects?

Geo points are saved in a separate storage called the geolocation storage. That is why there is separate API for it.