Hi,
thank for the reply.
I was able to achieve the desired result but still have a little problem.
I add these lines:
Code
<!-- <action name="mysnapshot"> if(%1 == true,set(layer[show_snapshot_UI].visible,false),set(layer[show_snapshot_UI].visible,true)) </action> -->
<events name="enable_snapshot_ui_check_parameters" keep="true" onnewpano="snapshot_ui_parameters_handler();"/> <action name="snapshot_ui_parameters_handler"> ifnot(enable_snapshot_ui===null,action(get(enable_snapshot_ui));); </action>
<action name="show"> if(%1 == true,set(layer[show_snapshot_UI].visible,false),set(layer[show_snapshot_UI].visible,true)) </action>
Now the "get snapshot" icon appears only if I add to my url this param : enable_snapshot_ui=show.
Unlike standard behaviour the icon isn't hide when I click to enable snapshot_ui so you'll see both icons : the one used to enable snapshot_ui
and the one used to grab the screen area.
How can I prevent this?