Firstly, your plugin is extremely helpful, thanks for creating it and making it affordable. Now, I'm sure this is a silly question but how do you change the clipping window for the map node. I tried loading a new map graphic but its width and height don't fit where the rectangular floor plan fits. Is there a way to edit this to stop the cropping thats going on?
Automatic Map (XML plugin)
-
-
Hi!
If you have more then one floorplans then add more then one map and hide.
And show only actual map.Regards
Andrey -
Hi
Just bought automap and nearly got it working, a question, we have a hotel with panos of lobby, outside, restaurant, bar and rooms etc.
I only want the map to appear on the room panos (as using it to show room layout), not on all panos, how can I set this up, as using the example xml I end up with the map appearing on every pano, also I dont want to have separate xml for each room.
A second point, radar etc works fine, but clicking on the centre 'dot' does not load the relevant scene, any ideas (I will put online tomorrow)
Thanks
Tim -
Hi!
To show map only in rooms -Just use map hide action in all not maped scenes (in onstart event)
and use map show action in all rooms scenes.
and about - ... but clicking on the centre 'dot' does not load the relevant scene ...I need to take a look at working example to findout what is wrong.
Hope it help
Regards
Andrey -
Hi Andrey,
I just bought AutoMap but I am completely lost (I am an xml beginner). I was wondering if you could possibly help me implement AutoMap into my existing Panotour virtual tour. What I am trying to achieve is to change map depending on the floor I am at. The map needs to have hotspots and radar.
I would really appreciate it if you could please help.
Kind Regards,
Lucas
-
Hi!
Without basic krpano xml knowledge it would be difficult.
So first you should read this
http://www.krpano.com/docu/xml/http://www.krpano.com/docu/actions/
http://www.krpano.com/docu/quickref/
And after that take a look at example and try to understand how it's work.
If you want I can do it for you
But, currently I can't working fast (very busy)
If it's Ok then send me you tour (but without pano images, only preview)
I will try to help.Little advice - try on small tour (with 2-3 scene or panos) copy paste from example and try to adjust.
Hope it help
Regards
Andrey -
Hi,
short question:
What is the radarjs.png for? Did you find a solution for radar in html5 / js?
The example on the plugin page seems to work on safari develeopper mode, but i cannot find a hint how to achieve that...I am working on this tour: http://www.panographer.de/download/reval…1_3_9/tour.html
Cheers,
Jan -
Hi!
html5 version of this plugin is buggy
currently i'm working on new plugin with scrollable/dragable map image.
I will let you know when finish, at the forum.Regards
Andrey -
Hi,
I am trying to install automap into my tour. I have general knowledge of xml and actions etc..but I am kind of lost. Can someone provide me with general directions to install? I have read through the forums and examples, but something I am doing is not working. In my tour folder, should their be two XML files, the original and then the automap.xml? Then would I use the "add" action in the original xml to load the automap.xml file? Am I getting close, or completely off? I keep getting automap/automap.xml - loading error (IO-Error). Also, do I have to upload the auto map folder to my server, since that is where the images are? -
Hi!
contact me by skype or email, I will try to help.
I will be available after 10-14 days, sorryRegards
Andrey -
Hi guys,
I want to ask you 2 question related to this plugin:
1) the radars are displayed stretched on iphone/ipad devices screenshot from a iphone 4 - what's happening with the radar why is displayed in this way?
2) how can I put more floor maps (map1 and map2) also I want the panos from the default skin slider to be sync with the map ..
Many thanks.
Alex -
Hi guys,
I've used the following syntax but without success trying to add two floormaps
From the slider of the default skin when I'm displaying the panos related to second floormap - map1 dissapeared (this is fine) but the map2 is not displayed instead.<krpano version="1.0.8.15" .... onstart="startup(); buildmap(map1); gotoscene(scene_18);">
<scene name="scene_01" onstart="showhidemaps(map1);" ...>
<action name="showhidemaps">
if(%1 == "map1",
set(plugin[map1].visible,true);
set(plugin[map2].visible,false);
);if(%1 == "map2",
set(plugin[map1].visible,false);
set(plugin[map2].visible,true);
);</action>
Could you please advice me how to handle this?
-
Hi!
try this
if(%1 === map1,
set(plugin[map1].visible,true);
set(plugin[map2].visible,false);
);if(%1 === map2,
set(plugin[map1].visible,false);
set(plugin[map2].visible,true);
);It's must works
If not, contact me mail @ atlas-is dot ru
and show me your code I will try to help youRegards
Andrey -
I've just recently bought your plugin, and was very eager to implement it right away in a project of mine. Despite your detailed and clear instructions, I came across a bit of troubling.
I want the viewpoints not to open preview pictures, but xml files. It does the job but immediatly disables the radar.
Here is the code:
XML
Alles anzeigen<?xml version="1.0" encoding="UTF-8"?> <!-- for xml compliance --> <!-- Generated By Kolor Panotour 1.8.0 --> <krpano onstart=" addbuttons(); buildmap(map1); "> <include url="automap/automap.xml" /> <map name="map1" keep="true" editmode="false" edge="righttop" align="righttop" x="10" y="10" path="automap/" map="map_images/map.jpg" mask="map_images/mapmask.png" zorder="1" scale="1" alpha="1" radar_alpha="0.5" radar_visible="true" point_url="map_images/viewpoint.png" point_crop="32" onclick="switch(map[map1].scale,1,0.2); tween(plugin[map1].scale,get(map[map1].scale), 0.3);" viewpoint_auto="false" > <viewpoint name="p1" scene="liv" x="182" y="75" heading="-10" scale="1" mask="map_images/maskliv.png" onclick="gotoscene(liv);" onhover="showtext(Living,maponhovertext);" /> <viewpoint name="p2" scene="kit" x="290" y="54" heading="10" scale="1" mask="%CURRENTXML%/map_images/maskkit.png" onclick="gotoscene(kit);" onhover="showtext(Kitchen,maponhovertext);" /> <viewpoint name="p3" scene="cor" x="178" y="164" heading="57" scale="1.5" mask="%CURRENTXML%/map_images/maskcor.png" onclick="gotoscene(cor);" onhover="showtext(Corridor,maponhovertext);" /> <viewpoint name="p4" scene="bed" x="87" y="90" heading="165" scale="1" mask="%CURRENTXML%/map_images/maskbed.png" onclick="gotoscene(bed);" onhover="showtext(Bedroom,maponhovertext);" /> <viewpoint name="p5" scene="bath" x="291" y="148" heading="-62" scale="1" mask="%CURRENTXML%/map_images/maskbath.png" onclick="gotoscene(bath);" onhover="showtext(Bathroom,maponhovertext);" /> </map> <scene name="liv" onstart="" > <preview type="CUBESTRIP" url="Ww3VWO3.xml;" /> <view vlookat="0" hlookat="0" fov="80.0" /> </scene> <scene name="kit" onstart="" > <preview type="CUBESTRIP" url="panoramas/kit_preview.jpg" /> <view vlookat="0" hlookat="0" fov="80.0" /> </scene> <scene name="cor" onstart="" > <preview type="CUBESTRIP" url="panoramas/cor_preview.jpg" /> <view vlookat="0" hlookat="0" fov="80.0" /> </scene> <scene name="bed" onstart="" > <preview type="CUBESTRIP" url="panoramas/bed_preview.jpg" /> <view vlookat="0" hlookat="0" fov="80.0" /> </scene> <scene name="bath" onstart="" > <preview type="CUBESTRIP" url="panoramas/bath_preview.jpg" /> <view vlookat="0" hlookat="0" fov="80.0" /> </scene> <scene name="fasad" onstart="" > <preview type="CUBESTRIP" url="panoramas/fasad_preview.jpg" /> <view vlookat="0" hlookat="0" fov="80.0" /> </scene> <action name="map_switchmode"> if(map[%1].editmode, copy(map[%1].align,storealign); copy(map[%1].edge,storeedge); copy(map[%1].x,storex); copy(map[%1].y,storey); set(plugin[align].alpha,1); set(plugin[align_buttonbg].alpha,1); , copy(storealign,map[%1].align); copy(storeedge,map[%1].edge); copy(storex,map[%1].x); copy(storey,map[%1].y); set(plugin[align].alpha,0.4); set(plugin[align_buttonbg].alpha,0.4); ); switch(map[%1].editmode,true,false); buildmap(%1); </action> <action name="map_changeposition"> switch(map[%1].edge,righttop,center); switch(map[%1].align,righttop,center); switch(map[%1].x,10,0); switch(map[%1].y,10,0); buildmap(%1); </action> <action name="gotoscene"><!-- usage gotoscene(scenename,ath,atv,fov); --> </action> <action name="mainloadpano"> loadscene(%1, null, MERGE, BLEND(0.5)); if( %2 != 'null', set(view.hlookat,%2);,); if( %3 != 'null', set(view.vlookat,%3);,); if( %4 != 'null', set(view.fov,%4);,); closepanoobjects(); ifnot(stopSequence === undefined,interruptAnimation();); loadpano(%1,NULL,NULL,BLEND(1)); </action> <plugin name="gyro" url="Ww3VWOdata/graphics/gyro.js" devices="ipad|iphone" keep="true" enabled="true"/> <!--************** KrPano plugins and datas ***************************************************--> <plugin name="data" firstPanoHasBeenPlayed="false" keep="true"/> <!--************** Open the first pano ********************************************************--> <include url="Ww3VWO0.xml"/> <autorotate enabled="false"/> <!--************** Fonts **********************************************************************--> <textstyle name="DEFAULT" bold="false" font="Arial Narrow" fontsize="16" italic="false" textcolor="0xff000000"/> <!--************** Introduction ***************************************************************--> <action name="firstloadcompleteaction"> if(plugin[data].firstPanoHasBeenPlayed==false, set(plugin[data].firstPanoHasBeenPlayed,true); set(autorotate.enabled,true); ); </action> <!--************** Logos **********************************************************************--> <plugin name="logo6" url="Ww3VWOdata/graphics/logo6.png" keep="true" align="leftbottom" x="10" y="10" width="119" height="61" onclick="openurl(http://www.profimage.nl/,_blank)"/> <!--************** Menu ***********************************************************************--> <plugin name="openfs" align="bottom" blendmode="normal" crop="0|0|65|65" customColor="true" height="prop" keep="true" onclick="set(fullscreen,true);" onout="" onover="" onovercrop="0|65|65|65" url="Ww3VWOdata/graphics/menu/menu0.png" width="40" x="-20" y="10"/> <plugin name="closefs" align="bottom" blendmode="normal" crop="0|0|65|65" customColor="true" height="prop" keep="true" onclick="set(fullscreen,false);" onout="" onover="" onovercrop="0|65|65|65" url="Ww3VWOdata/graphics/menu/menu1.png" visible="false" width="40" x="-20" y="10"/> <plugin name="autorotationON" align="bottom" blendmode="normal" crop="0|0|65|65" customColor="true" height="prop" keep="true" onclick="switch(autorotate.enabled);set(plugin[autorotationON].visible,false); set(plugin[autorotationOFF].visible,true);" onout="" onover="" onovercrop="0|65|65|65" url="Ww3VWOdata/graphics/menu/menu2.png" visible="" width="40" x="20" y="10"/> <plugin name="autorotationOFF" align="bottom" blendmode="normal" crop="0|0|65|65" customColor="true" height="prop" keep="true" onclick="switch(autorotate.enabled);set(plugin[autorotationOFF].visible,false); set(plugin[autorotationON].visible,true);" onovercrop="0|65|65|65" url="Ww3VWOdata/graphics/menu/menu3.png" visible="" width="40" x="20" y="10"/> <events onenterfullscreen="set(plugin[openfs].visible,false); set(plugin[closefs].visible,true);" onexitfullscreen="set(plugin[openfs].visible,true); set(plugin[closefs].visible,false);"/> <!--************** Plugin Panotour Maps *******************************************************--> <plugin name="panotourmaps" parent="STAGE" keep="true" devices="flash" url="Ww3VWOdata/graphics/PanotourMaps.swf" mapready="false" zoom="18" maptype="HYBRID" lat="52.3693008423" lng="4.90106010437" onmapready="set(mapready, true);panotourmapsactivespot(panotourmapsspot0);" align="right" y="0" height="100%" x="-25%" width="25%" mapgis="bing" key="AvTFt5kMcNklDQnxipo38lPSbusgPdBtPBXToM8w4yXwn4IdOZqNE8SY_hjsrPrw"> <radar visible="true" size="100" linecolor="0xffffff" linealpha="0.494118" fillcolor="0xffffff" fillalpha="0.494118"/> <zoomcontrol visible="false"/> <positioncontrol visible="false"/> <maptypecontrol visible="false"/> <spot name="panotourmapsspot0" onclick="mainloadpano(Ww3VWO0.xml);" url="Ww3VWOdata/graphics/spots/spot0.png" lat="52.3693580627" lng="4.90114307404" heading="115"/> </plugin> <plugin name="panotourmapsthumb" keep="true" devices="flash" url="Ww3VWOdata/graphics/strap.png" align="right" edge="left" rotate="180" handcursor="true" onclick="if (mapsopened == 'true', closepanotourmaps(), openpanotourmaps() );"/> <action name="openpanotourmaps"> if (isflash, set(plugin[panotourmapsthumb].mapsopened,'true'); tween(plugin[panotourmaps].x,0%); tween(area.x,0%); tween(area.width,75%); if (mapready, plugin[panotourmaps].showControls(); ,); ,); </action> <action name="closepanotourmaps"> if (isflash, set(plugin[panotourmapsthumb].mapsopened,'false'); tween(plugin[panotourmaps].x,-25%); tween(area.x,0%); tween(area.width,100%); if (mapready, plugin[panotourmaps].hideControls(); ,); ,); </action> <plugin name="panotourmapsthumbicon" devices="flash" keep="true" rotate="180" parent="panotourmapsthumb" zorder="0" url="Ww3VWOdata/graphics/ptmaps_open.png" align="center" edge="center" capture="false" enabled="false"/> <action name="panotourmapsactivespot"> if (isflash, if (mapready, plugin[panotourmaps].activatespot(%1); plugin[panotourmaps].ensurespotvisible(%1); ,); ,); </action> <action name="panotourmapsunactivespots"> if (isflash, if (mapready, plugin[panotourmaps].activatespot(none); ,); ,); </action> <!-- Raise sequence stopper and wait sequence time to break the delayed calls --> <action name="interruptAnimation"> ifnot (stopSequence === undefined, set(stopSequence, true); wait(0); ); </action> </krpano>
Do you've any idea what this possible error might cause?
Thanks in advance.
-
Hello!
You can contact me by email: mail @ atlas-is . ru
or skype: mindlessboss
And better send me your tour.
I will try to findout what i can to do.Regards
Andrey -
Hello,
We got your map working as we wanted. The only question we have is how to disable the hotspots when the map is scalled down so people can't accidentally click on the hotspots when they hover over.
We want to prevent to let people think the map is supposed to be small, and force them to use the map in enlarged-mode.
So to sum it up, when the map is scaled down we would like;
- to disable hover text
- to disable clickable hotspotsHowever, we want these functions to be enabled when the map is enlarged.
Thanks in advance,
spablauw -
Hello! i just purchased automap but i can't use it properly.. can u please provide me with a step-by step tutorial? thank you!
-
Hello!
Take a look at example in package that you have.
And play around with it.
Hope it will help.
Maybe someone can share his experience about this?Andrey
-
I have the map up and running and clicking on the viewpoints open the corresponding scenes.
As the radar looks silly on HTML5 with the double views I've removed radar.png & radarjs.png so it doesn't display at all (I'm happy with that) but I would like the person to know which viewpoint they are currently on.
Is there a way to make the current viewpoint highlighted so it still shows their location within the floor plan? I don't really need the radar feature at all if it doesn’t work properly in HTML5 so will just use the viewpoints.
I think you should probably put up a html5 demo or at minimum a screen shot so people can see what it looks like before purchasing.
Thanks,
Andrew
-
Hi!
hm... yes it's possible ofcourse (everything is possible in krpano, almost ;) )
I can try to cutomize map code for you, but not now, i'm very busy currently
Perhaps after two weeks...
Remind me please, ok?Andrey
-
Jetzt mitmachen!
Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!