I have been trying to remove a ticket annotation out of GLYMapView by using this method from GLYMapModeBase:
- (void)ticketRemoved:(const Glympse::GTicket&)ticket;
but I have been unsuccessful because in the ticketRemoved method, my mapUser is always null:
Glympse::GMapUser mapUser = ticket->getContext(GLYMapUserContext);
if ( mapUser == NULL )
{
return;
}
If this method is the correct method of removing an annotation, how do I set a GMapUser in a GTicket? I have looked into the documentation but have found no function available.