Exemplo n.º 1
0
 virtual void onClick( AnnotationNode* node, const EventArgs& details )
 {        
     PlaceNode* place = dynamic_cast<PlaceNode*>(node);
     if (place == NULL)
     {
         OE_NOTICE << "Thanks for clicking this annotation" << std::endl;
     }
     else
     {
         OE_NOTICE << "Thanks for clicking the PlaceNode: " << place->getText() << std::endl;
     }
 }