locked
Hovering label RRS feed

  • Question

  • Hi everybody,

    I am using HTML 5 API to develop a navigator for my web site.

    I am not able to add in my code a working "hovering" label; I followed all the instructions

    from the wwt website and I create a label in this way

    var circle = wwt.createCircle(true);             
    circle.set_fillColor("red");                                  
    circle.set_opacity(0.5);                    
    circle.set_radius(10);                                
    circle.set_skyRelative(false);                
    circle.setCenter(187.0,14.0);     
    circle.set_label("TEST");
    circle.set_id("TEST ID");                
    circle.set_showHoverLabel(true);                
    wwt.addAnnotation(circle);
    


    But the hovering label does not appear when I put the mouse on the annotation.

    Could you find where the error is in my code ?

    Thank you for any help you can give me,
    Paolo Franzetti 

    Tuesday, July 30, 2013 11:50 AM

All replies

  • The hover functionality is fixed in the latest builds.

    It will now work as documented in the API.

    Monday, December 9, 2013 6:12 PM
    Moderator