Page 1 of 1

Displaying still image from floorplan marker

Posted: Wed Jan 08, 2020 7:18 pm
by PLaine
Hello,

I didn't find a way to display a still image (centered in the panorama) by clicking on a marker in the floorplan. I must display this image but it's not a panorama and the quality doesn't allow a fullscreen display.

Any idea of which way to go?

Thanks,

Philippe

Re: Displaying still image from floorplan marker

Posted: Wed Jan 08, 2020 9:37 pm
by Hopki
Hi Philippe,
This would be easy to do if you add the floorplan directly to the skin editor.
You can then add the action to each map pin to open a popup.

What I would do is add all the popup images as assets, this can be found at the bottom of the HTML5 output.
When you create the output the images will be put into a subfolder called assets. So the path to an image would be "assets/image_name.jpg".

I would then use an external image loader to display the images.
The map pin would have the actions:
• mouse click, set value, value: assets/image.jpg, external image loader
• mouse click, show element, external image loader
The close button would just need a hide external image loader action.

Replace image.jpg with one from your images.
Regards,
Hopki

Re: Displaying still image from floorplan marker

Posted: Wed Jan 08, 2020 10:13 pm
by PLaine
Hello Hopki,

Thanks for your fast response.
Yes indeed, it's a good workaround. I've just tried it and it works.
I've only to continue with the second stage, hopping that it will be as easy than with floorplan tool.

Best regards

Philippe