Beiträge von Fertilizer

    When using custom-tile-urls, hotspots that are smaller than some critical size are no longer active.
    Two similar hotspots are presented in the example. The difference is only in the value of the scale.
    A spot with a larger size is pressed, while a smaller one is not pressed for some reason.
    https://sferitus.com/?xml=osmmap/maps.xml

    This hotspots does not work:

    Code
    <hotspot name="dis" onhover="showtext(test,STYLE4);"
    onclick="onclickB();"
    onclickA="set(hotspot[dis].alpha,1); set (onclick, onclickB() );"
    onclickB="set(hotspot[dis].alpha,0.5); set(onclick, onclickA() );"
    	url="%HTMLPATH%/drone_map512.png" width="2048" height="2048"
    	scale="0.0000001" zoom="true" capture="false"
    	ath="0.0658058" atv="-0.1701285" />

    This hotspots works:

    Code
    <hotspot name="en" onhover="showtext(test,STYLE4);"
    onclick="onclickB();"
    onclickA="set(hotspot[en].alpha,1); set (onclick, onclickB() );"
    onclickB="set(hotspot[en].alpha,0.5); set(onclick, onclickA() );"
    	url="%HTMLPATH%/drone_map512.png" width="2048" height="2048"
    	scale="0.00000025" zoom="true" capture="false"
    	ath="0.0658500" atv="-0.1701285" />

    In recent versions, there was an error displaying large polygonal hotspots. In the flash player everything is displayed as it should, but on html5 an error appears and some of the points are shifted in the mirror direction.
    https://sferitus.com/?xml=fly/stadium/tour.xml


    Code
    <hotspot name="spot1"><point ath="41.854632" atv="17.702521" /><point ath="150.940513" atv="11.919116" /><point ath="153.762042" atv="12.254591" /><point ath="46.729459" atv="21.673211" /><point ath="39.148851" atv="19.513441" /><point ath="-7.095752" atv="8.511058" /><point ath="-4.324017" atv="8.109533" /></hotspot>