Posts by KL_277

    I'm sorry,
    I tried calling onloaded after calling all the necessary parameters but when I make changes to its content and reload it. Note that I deleted the hostpost and added it again but it only shows a single white dot like the image and no animation happens like before editing.


    The second photo is the photo before editing, it still has the animation as usual, but when editing the content, I call remove hostpost and add it again with new content, it only shows a white dot until I reload the page.

    Hello,

    I’m facing an issue when using the Callout plugin in krpano.

    • When I delete an existing hotspot and then create a new one with different content, the new hotspot only appears as a white dot.
    • The default Callout actions/styles are no longer working, for example:
      • The callout content does not automatically open in the center of the screen.
      • The white dot (hotspot marker) does not blink anymore.

    My questions are:

    • Is this the expected behavior of the plugin when deleting and recreating a hotspot?
    • Do I need to trigger any additional actions or reapply a specific style so that the new hotspot behaves like a normal Callout hotspot?


    This is my action :
    <action name="create-callout-anotation">

    callwhen(loadcomplete,

    addhotspot('callout-%1');

    hotspot['callout-%1'].loadstyle('callout');

    set(hotspot['callout-%1'].ath, %2);

    set(hotspot['callout-%1'].atv, %3);

    set(hotspot['callout-%1'].animation, center_screen);

    set(hotspot['callout-%1'].content, %4);

    set(hotspot['callout-%1'].enabled, true);

    set(hotspot['callout-%1'].capture, true);

    set(hotspot['callout-%1'].visible, %5);

    set(hotspot['callout-%1'].renderer, 'css3d');


    set(hotspot['callout-%1'].onclick,

    if(islocked,

    js(handle_click_annotation(%1));

    );

    );


    set(hotspot['callout-%1'].ondown,

    callout_memo_drag(%1);

    );


    set(hotspot['callout-%1'].onup,

    if(islocked,

    drop_hotspot();

    js(handle_drag_end(%1,'callout'));

    );

    );

    );

    </action>

    I’d really appreciate your guidance on how to resolve this.

    Thank you!