Is it possible on mobile devices to display a tooltip on the first touch of the hotspot, and a new scene opens on the second touch?
Posts by Midhat
-
-
klaus.krpano I did it with Google maps. I inserted this code into tour.xml, and a small map appeared.
Code
Display More<layer name="mapcontainer" type="container" keep="true" bgcolor="0xFFFFFF" bgalpha="0.5" align="rightbottom" x="5" y="5" width.normal="270" height.normal="370" width.mobile="200" height.mobile="250"> <!--Google map --> <plugin name="map" keep="true" url="%VIEWER%/plugins/googlemaps.js" key="AIzaSyDiAHA1vK3BxkvcBo8q9hmmpWiYvKLHImc" maptype="SATELLITE" zoom="18" align="lefttop" x="10" y="10" width="-20" height="-20"> <radar visible="true" size="300" alpha="0.33" fillcolor="0xFFFFFF" fillalpha="1.0" linecolor="0x00FF00" linealpha="0.5" linewidth="0.5" dragable="true" headingoffset="0" /> <spot name="spot1" lat="" lng="" heading="0" active="true" /> </plugin> </layer>
However, I still have a problem that I don't know how to set the active spot to be the one from the panorama.
With Bing maps is an even bigger problem. I tried using this code to set up a Bing map, but it doesn't work at all and the map won't appear:
Code
Display More<layer name="mapcontainer" type="container" keep="true" bgcolor="0xFFFFFF" bgalpha="0.5" align="rightbottom" x="5" y="5" width.normal="270" height.normal="370" width.mobile="200" height.mobile="250"> <!--Bing map --> <plugin name="map" url="%VIEWER%/plugins/bingmaps.js" align="lefttop" width="-20" height="-20" x="10" y="10" keep="true" key="ArIH2MKa8AR9D4F68--_nfJcbK7zrK4teKZy3ROeH9fgnxjL_IL6CMDXngwbsdye" maptype="satellite" culturecode="" lat="43,123456" lng="18,123456" zoom="1" activespotenabled="true" bgcolor="0x000000" bgalpha="0.0" onmapready="" onmaptypechanged="" onmapmoved="" onmapzoomed="" > <radar visible="true" size="300" alpha="0.33" fillcolor="0xFFFFFF" fillalpha="1.0" linecolor="0x00FF00" linealpha="0.5" linewidth="0.5" dragable="true" headingoffset="0" /> <spot name="spot1" lat="" lng="" heading="0" active="true" /> </plugin> </layer>
Where did I go wrong in Bing maps?
-
I found here: https://krpano.com/viewsource.htm…/googlemaps.xml
Code
Display More<!-- container layer --> <layer name="mapcontainer" type="container" bgcolor="0xFFFFFF" bgalpha="0.5" align="rightbottom" x="5" y="5" width.normal="270" height.normal="370" width.mobile="200" height.mobile="250"> <!-- maps plugin - use Google for HTML5 and Bing for Flash --> <plugin name="map" keep="true" url="%VIEWER%/plugins/googlemaps.js" key="AIzaSyD3WEWe9IfmxhhqS1wA_cVTe3rlUEXNees" maptype="SATELLITE" lat="41.898761" lng="12.473094" zoom="18" align="lefttop" x="10" y="10" width="-20" height="-20"> <radar visible="true" size="300" alpha="0.33" fillcolor="0xFFFFFF" fillalpha="1.0" linecolor="0x00FF00" linealpha="0.5" linewidth="0.5" dragable="true" headingoffset="0" /> <spot name="spot1" lat="41.898761" lng="12.473094" heading="0" active="true" /> </plugin> </layer>
To see the container in the lower right corner I have to exclude vtourskin.xml. If it is included, the container is not displayed.
Since my knowledge is very modest, I tried to remove the existing container with the map from vtourskin.xml so that there would be no conflict, but it did not help. what else could be causing this problem?
-
I tried this code, I placed it in tour.xml and I also tried it in vtourskin.xml. The map does not appear in any variant. Is it a bug in the code or...
Code
Display More<layer name="mymap_container" align="rightbottom" x="10" y="10" width="200" height="200"> <plugin name="bingmaps" url="%SWFPATH%/plugins/bingmaps.js" type="container" lat="43.596119" lng="18.346182" zoom="10" width="100%" height="100%" draggable="true" visible="true" onclick="draglayer();" onloaded="js(Microsoft.Maps.Events.addHandler(plugin[bingmaps].getMap(), 'viewchangeend', function(){ layer[map_container].ondrag(); }));" /> </layer>
-
Thank you,
I will try :) -
I know the topic is very old, but I need this now too. So a small map in the right corner and not in the middle.
Does anyone have a solution? -
I sent you a private message
-
It's too complicated for my level of knowledge.
Do you know someone who could do this? -
Thanks,
I will try. -
How can I enable a small map like this one:
https://krpano.com/examples/118/e…googlemaps.html -
I have been working on a virtual tour project of the mountains of Bosnia and Herzegovina for several years.
https://planinarenje.ba/panorame360/
Over time, the number of mountains and panoramas from the peaks increases and the project becomes more complicated.
Namely, VT is divided into mountains, and each mountain contains panoramas with several peaks. The biggest problem was how to display waypoints, because there are really many of them.
Currently, on each panorama, I have waypoints to other mountains (white) and waypoints to the peaks of the mountain you are currently on (red). When I add a new panorama, I place all the waypoints manually. The biggest problem is that you should then open all the old panoramas (about 300) and add a waypoint to the new one.Is it possible to create a plugin that would automatically create hotspots in the way I described above (on each panorama, I have waypoints to other mountains (white) and waypoints to the peaks of the mountain you are currently on (red).)?
-
That's it!
Thank you! -
Is it possible to disable a specific plugin if Google Chrome is used on a desktop computer. That plugin works great for me except in that case.
It is now included in tour.xml:<include url="some_plugin.xml" />
I know a little bit of php and html but nothing about xml so I don't know how to solve this problem.
-
-
I've been having a problem for the last couple of months because my virtual tour isn't smooth on Chrome. It's very slow and stuck, and it looks like there's a problem with the graphics card.
I installed the latest graphics card drivers, and at the same time everything works smoothly on the Mozlla browser.
I tried to reinstall Chrome, but no changes. What could be the problem?
Planinarenje.ba - Panorame 360° -
Is there a plugin that automatically generate hotspots, depending on the radar plugin views and panorama positions on the google map?
Over time, the number of panoramas in my virtual tour has increased and manually generating hotspots takes an awful lot of time.
-
-
Google maps works for me on the website, but not in the Krpano tools VTour Editor. Is it possible to make it work in VTour Editor?
-
Hi,
I put the icon in the main directory, but for some reason it is not displayed. Before everything worked without problems -
I have been using this plugin for a long time and I'm really happy with it. Today I noticed that my scroll slider does not work. I can scroll the menu with the mouse wheel, but the slider does not work. How can I fix this?
https://planinarenje.ba/panorame360/