You are not logged in.

  • "claire_france" started this thread

Posts: 18

Location: Glasgow

Occupation: Virtual Tours, Photography, PHP & mySQL

  • Send private message

1

Tuesday, February 25th 2014, 1:14pm

Virtual Tour with Floorplan - Which Licences?

Can anyone pls tell me which licenses I need to buy to be able to produce virtual tours with integrated floorplan?

Do I need the krpano Maps Plugin License? or the third party autoMap plugin?

Thanks in advance to anyone who can clarify.
Claire

Alexey Tkachenko

Professional

Posts: 770

Location: Russian Federation

Occupation: Interpreting, Building virtual tours

  • Send private message

2

Tuesday, February 25th 2014, 2:08pm

Hi! Basically, a floorplan is an imagemap, like these in the Krpano's examples:

http://krpano.com/examples/116/examples/…rollingmap.html

http://krpano.com/examples/116/examples/…h-imagemap.html

http://krpano.com/examples/116/examples/…imagemap-2.html

If you have a license for 1.17 version, then there's no need to buy anything to build such maps (krpano code skills are needed, rather).

Bing/Google maps need an additional license, because this is a kind of a "global" map provided by the third party (Bing or Google) and integrated into a VT.

Automap plugin by Andrey makes work with the code easier and can add several maps to a tour, as far as I know.

Hope I made it clear *smile*
Regards,

Alexey

  • "claire_france" started this thread

Posts: 18

Location: Glasgow

Occupation: Virtual Tours, Photography, PHP & mySQL

  • Send private message

3

Tuesday, February 25th 2014, 2:14pm

Very clear, thank you Alexey. Much appreciated.

  • "claire_france" started this thread

Posts: 18

Location: Glasgow

Occupation: Virtual Tours, Photography, PHP & mySQL

  • Send private message

4

Tuesday, February 25th 2014, 5:12pm

Hello again, Those links were very useful. I have also been reading the documentation, and have a basic tour with interactive floorplan configured.
I wondered though, is there documentation for these things anywhere. I can't seem to locate it.
<plugin name="map" />
<plugin name="zoombutton" />
<plugin name="closebutton" />
etc

At the moment I just feel like I'm hacking bits of code together without understanding. It's working, but I'd rather understand.
Many thanks,
Claire

Alexey Tkachenko

Professional

Posts: 770

Location: Russian Federation

Occupation: Interpreting, Building virtual tours

  • Send private message

5

Tuesday, February 25th 2014, 11:09pm

Those examples are also can be seen in the Krpano donwload package (1.17/examples).

To understand how map works, see here documentation on "layer/plugin":

http://krpano.com/docu/xml/#layer

Layer is an element on the screen, which can be switched on/off or resized. Okay. Then it's clear about the layer, let's move on to the spots.

If you open "scenes-with-imagemap" example xml, you wil' see the following code:

Source code

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<!-- the image map -->
	<layer name="map" url="imagemap.png" keep="true" align="leftbottom" x="16" y="16" width="316" height="222"
	        handcursor="false"
	        scalechildren="true"
	        maskchildren="true"
	        onclick="closemap();"
	>
		<!-- 'rooms' and spots - the 'room' container elements were used for masking the radar -->
		<layer name="room1" type="container" align="lefttop" x="125" y="4" width="187" height="115" maskchildren="true">
			<layer name="spot1" url="mappoint.png" align="lefttop" edge="center" x="91" y="59"  zorder="2" onclick="loadscene(scene1, null, MERGE, BLEND(1));" />
		</layer>
		<layer name="room2" type="container" align="lefttop" x="4" y="4" width="117" height="214" maskchildren="true">
			<layer name="spot2" url="mappoint.png" align="lefttop" edge="center" x="61" y="104"  zorder="2" onclick="loadscene(scene2, null, MERGE, BLEND(1));" />
		</layer>
		<layer name="room3" type="container" align="lefttop" x="125" y="123" width="187" height="95" maskchildren="true">
			<layer name="spot3" url="mappoint.png" align="lefttop" edge="center" x="92" y="46" zorder="2" onclick="loadscene(scene3, null, MERGE, BLEND(1));" />
		</layer>
	</layer>


The main layer is called "map" and it's written as container element with graphic content:

Source code

1
2
3
<layer name="map" url="someimage".... >
......
<layer>


note here that the layer's closing tag is ">" (not "/>" as in normal layer) and this tag is followed by closing tag "</layer>"

So, you can put more layers between ">" and the final "</layer>". And in this example we see that here are three layers named "room1", "room2" and "room3" which have "maskchildren="true". This is to make the radar cone invisible if it reaches beyond the current room.

Each room is again written as container element and inside it - there are "spots' layers.

Then there's "radar" plugin. Read here carefully about it:

http://krpano.com/plugins/radar/#top

then there are actions which control the map and its elements. The most important here is "activatespot" action. It is called "onstart" of each scene. To understand how it works, see the following:

http://krpano.com/docu/xml/#layer.parent
http://krpano.com/docu/xml/#layer.visible
http://krpano.com/plugins/radar/#heading

and try to understand what is "parameter" in actions:

http://krpano.com/docu/actions/#syntaxandusage

Hope this makes it a bit clearer)))
Regards,

Alexey

  • "claire_france" started this thread

Posts: 18

Location: Glasgow

Occupation: Virtual Tours, Photography, PHP & mySQL

  • Send private message

6

Wednesday, February 26th 2014, 1:21pm

Yep, it does. Many many thanks.
C

yasarcan

Trainee

Posts: 52

Location: Türkiye

Occupation: Computer Teacher

  • Send private message

7

Sunday, February 5th 2017, 8:35pm

I am used to Krpano 1.16 I have changed the system. With this information I was able to make my floor plans. Thank you so much. *thumbsup*
The best of people, the most beneficial to people. Hz. Mohammed