Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Requesting to help on how to achieve the implementation of stopping the moving annotation at a particular location? #2

Open
deepcodingios opened this issue Oct 10, 2012 · 0 comments

Comments

@deepcodingios
Copy link

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant