other hotspots on the map ?

  • Hi everybody. Just bought KRpano + Map plugin, I have 2 questions :

    Is it possible to place hotspots on the GMap with actions different than opening a pano, such as open an image, link to an URL ? But not within the pano, within the map. If not, is it possible to modify the source code plugin to do this ?

    Best regards

    Phil

  • you can do almost anything with krpano. you could use a map spot to open an image yes. it could also be restricted to the map if you set the parent of the image plugin to the map plugin. opening a url inside the google map would not be possible.

  • thanks for your answer
    what do you mean when you write "the image plugin" ? I don't see any image plugin for krpano... Do you mean the textfield plugin ? And if not, is it possible to open a textfield (https://krpano.com/examples/textfield/ by clicking an hotpsot located on the map ?

  • <plugin "name=photo"
    url="photo.jpg"
    edge="center"
    visible="false"
    onclick="set(visible, false);
    parent="googlemap"
    width="100%"
    height="100%"
    />

    that is a very basic image plugin. that is not visible. on your google map hotspot make sure the onlick setting says. onclick="set(plugin[photo].visible, true);" then when the spot is clicked the image will show up. clicking the image itself makes it disappear.

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!