You are not logged in.

Dear visitor, welcome to krpano.com Forum. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

philkrom

Beginner

  • "philkrom" started this thread

Posts: 35

Location: Montpellier France

Occupation: Zooomez cofounder

  • Send private message

1

Thursday, October 6th 2011, 11:01pm

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
Philippe - Newbie in krpano code but very interested in everything about Oculus and VR devices *w00t*

Cofounder of the Zooomez project - zmz.fr - map on this link
If you want to support our project, please like our Facebook page *thumbsup*

VN2011

Professional

Posts: 1,336

Location: Duluth MN

  • Send private message

2

Friday, October 7th 2011, 4:47pm

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.

philkrom

Beginner

  • "philkrom" started this thread

Posts: 35

Location: Montpellier France

Occupation: Zooomez cofounder

  • Send private message

3

Saturday, October 8th 2011, 12:06am

Image plugin ???

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 (http://krpano.com/examples/textfield/ by clicking an hotpsot located on the map ?
Philippe - Newbie in krpano code but very interested in everything about Oculus and VR devices *w00t*

Cofounder of the Zooomez project - zmz.fr - map on this link
If you want to support our project, please like our Facebook page *thumbsup*

VN2011

Professional

Posts: 1,336

Location: Duluth MN

  • Send private message

4

Monday, October 10th 2011, 4:20pm

<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.