|
@@ -63,6 +63,7 @@ export default class Tags extends Emiter {
|
|
|
// debugger;
|
|
|
const hotspotStyle = Object.values(hotspot.style);
|
|
|
const hotspotString = hotspotStyle.join('|');
|
|
|
+
|
|
|
let hotspotSize
|
|
|
if (browser.isMobile()) {
|
|
|
hotspotSize = (Number(hotspot.size) || 1) * 30;
|
|
@@ -75,11 +76,11 @@ export default class Tags extends Emiter {
|
|
|
const ath = hotspot.ath != '' ? hotspot.ath : this.app.krpanoDom.get("curscreen_ath");
|
|
|
const atv = hotspot.atv != '' ? hotspot.atv : this.app.krpanoDom.get("curscreen_atv");
|
|
|
let icon = hotspot.icon.replace(/,/g, '|');
|
|
|
-
|
|
|
+ const title = this.htmlEncode(hotspot.title);
|
|
|
const callString = `addJQHotspot(
|
|
|
${hotspot.id},
|
|
|
${hotspot.type},
|
|
|
- ${hotspot.title},
|
|
|
+ ${title},
|
|
|
"${icon.replace('static/', 'showviewer/').replace('.svg', '.png').replace('@2x', '')}",
|
|
|
${ath},
|
|
|
${atv},
|