Support Topics Documentation Slack YouTube Blog

How to update points?

(Nuriddin) #1

How can I update this point:</img>

(Vyacheslav Vdovichenko) #2

Hi Nuriddin,

To update the existing GeoPoint instance you can use [backendless.geoService savePoint:…] method.

GeoPoint instance has @property (strong, nonatomic) NSString *objectId;
and if geopoint is got in response of savePoint: or getPoints: method, then objectId property is set - and savePoint: method makes “update” operation instead “create”.

(Nuriddin) #3

I’d like to change LAT and LON of this point to new LAT and LON changed by user in app and update this point.

(Vyacheslav Vdovichenko) #4

Yes, you can do it:</img></img>

(Nuriddin) #5

Thanks a lot!!!)))