Regards everyone,
We are using krpano for quite some years now, and recently in one of our use case we noticed a strange behavior.
SVG files are rendered in black, on code implementation who worked perfectly fine for years. We think the issue is due to a recent update of chromium-based browsers, but its just a speculation.
We use svg images to decorate hotspots via tour.xml, embedded in <scene> tag, for example :
<hotspot devices="desktop.and.!firefox" name="picto_banques" style="picto_banques" ath="5" atv="19" />
and the associated style definition in vtourskin.xml :
<style name="picto_banques" url="pictos/png/picto_banques.png" height="7.5%" width="prop" edge="bottom left" distorted="false"
tooltip=""
linkedscene=""
linkedscene_lookat=""
rx="0"
onclick=""
onover="tween(height,7.7%);"
onout="tween(height,7.5%);"
onloaded="if(linkedscene AND skin_settings.tooltips_hotspots, copy(tooltip,scene[get(linkedscene)].title); loadstyle(skin_tooltips); );"
/>
On the same krpano code we use a custom script (in krpano script) who create dynamically hotspots from a list, with svg decoration (via url property), who are working perfectly fine.
Here is an exemple : https://www.visiolab.fr/Panorama/_test/
Any clue anyone ?
Thank you for reading,
Xavier