We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Right now the annotation have no click event. This is what I added to add the annotation click event.
On Titanium you have one new event:
MapView.addEventListener("tapOnCalloutAccessoryControl", function(e) { /* * Add your code here! * */ })
On the iOS module:
On the layerForAnnotation:
marker.rightCalloutAccessoryView = [UIButton buttonWithType:UIButtonTypeDetailDisclosure]; return marker;
and just add after:
- (void)tapOnCalloutAccessoryControl:(UIControl *)control forAnnotation:(RMAnnotation *)annotation onMap:(RMMapView *)map { NSLog(@"You tapped the callout button!"); @ Add whatever you want here. }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Right now the annotation have no click event. This is what I added to add the annotation click event.
On Titanium you have one new event:
On the iOS module:
On the layerForAnnotation:
and just add after:
The text was updated successfully, but these errors were encountered: