Show/Hide hotspots according to a zoom?

  • I want to display hotspots from the general view up to a certain zoom level (e.g. 1 screen pixel = 10 image pixels) and then hide them to display other hotspots.
    I seem to have seen this in the documentation, but I can't find the information anymore. Can someone help me?

    A very big thank you

  • hi,
    if they no not have anything to do with each other
    you do a for loop on all hostspots and add the action on onviewchange
    it mught be a good ideia to copy the current zoom to a variable and, if the zoom does not change from the previous value (the user has just made a pan) you dont call this


    Code
    <hotspot name="some1zoom" fovmin="50" fovmax="80 otherattributes />
    	<hotspot name="some2zoom" fovmin="80" fovmax="10 otherattributes />

    --> action code

    (this was just written so forgive some typos

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!