You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
From your yesterday's answer i have got an understanding on how this should be done. But my problem here lies in when the annotation point where it should stop at a particular point and then resume from that stopped point. HGMovingAnnotation Class has a "Stop" Method but when i tried to call the Stop method from "startTracking" Method it doesn't get called. I am actually checking the condition if the currentLocation reaches certain location coordinates.
double latitude = currentLocation.x;
double longitude = currentLocation.y;
if (latitude == 137472336.403570 && longitude == 90052702.711254 ) {
NSLog(@"Inside If condition");
[self stop];
}
Can you please suggest me an alternative on how to implement this?
The text was updated successfully, but these errors were encountered:
Hi Rotem,
From your yesterday's answer i have got an understanding on how this should be done. But my problem here lies in when the annotation point where it should stop at a particular point and then resume from that stopped point. HGMovingAnnotation Class has a "Stop" Method but when i tried to call the Stop method from "startTracking" Method it doesn't get called. I am actually checking the condition if the currentLocation reaches certain location coordinates.
double latitude = currentLocation.x;
double longitude = currentLocation.y;
if (latitude == 137472336.403570 && longitude == 90052702.711254 ) {
NSLog(@"Inside If condition");
[self stop];
}
Can you please suggest me an alternative on how to implement this?
The text was updated successfully, but these errors were encountered: