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
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
I've got some map to pano links on lake-houston.com
like this one... http://lake-houston.com/explore/explor…tt-park?start=3
here's the js code that is used to work between the two.
<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>
Alles anzeigen
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
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!
But that isn't posible right?
right - not possible now.
in the future - but no time frame.
Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!