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.

1

Thursday, July 9th 2009, 6:54pm

Floor plan next to panorama

Hi,

Is there any example available where a floor plan or map is shown next to the panorama, instead of inside the panorama?

Thanks in advance!

Niek

Graydon

Professional

Posts: 614

Location: Texas

Occupation: Industrial gas turbine services.

  • Send private message

2

Friday, July 10th 2009, 5:40am

I've got some map to pano links on lake-houston.com

like this one... http://lake-houston.com/explore/explore-…tt-park?start=3

here's the js code that is used to work between the two.

Source code

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
<script type="text/javascript">
// <![CDATA[
function krpano() 
{
return document.getElementById("swf1");
}

function load_hsc_pano_01()
{
krpano().call("loadpano(hsc_pano_01.xml,null,keepbase);");
}

function load_hsc_pano_02()
{
krpano().call("loadpano(hsc_pano_02.xml,null,keepbase);");
}

function load_hsc_pano_03()
{
krpano().call("loadpano(hsc_pano_03.xml,null,keepbase);");
}

function load_hsc_pano_04()
{
krpano().call("loadpano(hsc_pano_04.xml,null,keepbase);");
}

function load_hsc_pano_05()
{
krpano().call("loadpano(hsc_pano_05.xml,null,keepbase);");
}

function load_hsc_pano_06()
{
krpano().call("loadpano(hsc_pano_06.xml,null,keepbase);");
}

function load_hsc_pano_07()
{
krpano().call("loadpano(hsc_pano_07.xml,null,keepbase);");
}

function load_hsc_pano_08()
{
krpano().call("loadpano(hsc_pano_08.xml,null,keepbase);");
}

function load_hsc_pano_09()
{
krpano().call("loadpano(hsc_pano_09.xml,null,keepbase);");
}

function load_hsc_pano_10()
{
krpano().call("loadpano(hsc_pano_10.xml,null,keepbase);");
}

function load_hsc_pano_11()
{
krpano().call("loadpano(hsc_pano_11.xml,null,keepbase);");
}

// ]]>
</script>


Let me know if you have any specific questions... otherwise, feel free to look at the source code on the site as much as needed.

Graydon

3

Friday, July 10th 2009, 11:52am

Thanks. I see you're using the javascript API. That's an option, but I would really like to use just the xml file to place a map next to my panoramas.

That should be very easy when it would be posible to set an absolute size (with in pixels and height in pixels) of the panorama. But that isn't posible right?

Thanks for your suggestion though!

Graydon

Professional

Posts: 614

Location: Texas

Occupation: Industrial gas turbine services.

  • Send private message

4

Monday, July 13th 2009, 4:14am

But that isn't posible right?


right - not possible now.

in the future - but no time frame.

Similar threads