discocandy
04-04-2008, 10:57 PM
Hi all I am trying to get gmap working in a panorama.
the gmap works but somehow The hotspots do not work
I can't find the error I made. can someone who used gmap in his panorama help me??
<?xml version="1.0" encoding="iso-8859-9"?>
<kml xmlns="http://earth.google.com/kml/2.1">
<Document>
<name>kandifototour</name>
<description><![CDATA[0000]]></description>
<Style id="style1">
<IconStyle>
<Icon>
<href>images/pov.png</href>
</Icon>
</IconStyle>
</Style>
<Placemark>
<name>Betten</name>
<description><![CDATA[<table width="400">
<a href="http://www.kandiefoto.nl/panorama/1/betten.htm"><img width="215" height="100" src="http://farm4.static.flickr.com/3179/2365173233_6452ffb940_m.jpg?imgmax=10"></a>
</table>""></description>
<styleUrl>#style1</styleUrl>
<Point>
<coordinates>52.73209,5.02006,0.000000</coordinates>
</Point>
</Placemark>
</kml>
and the code in my panorama xml.
<spot id="gmap" url="graphics/gmapsample.png" alpha="0.7"
static="1" staticX="-7" staticY="-260" align="LB" salign="LB" depth="103"
onpress="contrast=1" onrelease="contrast=0" onload="alpha=0;alpha=0.7,350"
onClick="gmapswf.visible=1; close3.visible=1; slideshow.visible=0; gmap.visible=0; pageflip.visible=0; qualityStatic.low" />
<spot id="gmapswf" url="files/gmap.swf" visible="0" static="1" align="mm" onOver="gmapswf.alpha=1;1.visible=1; ;pano.disablepan=1;pano.disabletilt=1"/>
<spot id="close3" url="graphics/gmapsampler.png" visible="0" static="1" staticX="-7" staticY="-260" align="LB" salign="LB" depth="111" onOver="brightness=1" onOut="brightness=1" onClick="pano.disablepan=0;pano.disabletilt=0; gmapswf.visible=0; slideshow.visible=1; gmap.visible=1; pageflip.visible=1; close3.visible=0; qualityStatic.high" />
/* ---- Einde gmap ---- */
the gmap works but somehow The hotspots do not work
I can't find the error I made. can someone who used gmap in his panorama help me??
<?xml version="1.0" encoding="iso-8859-9"?>
<kml xmlns="http://earth.google.com/kml/2.1">
<Document>
<name>kandifototour</name>
<description><![CDATA[0000]]></description>
<Style id="style1">
<IconStyle>
<Icon>
<href>images/pov.png</href>
</Icon>
</IconStyle>
</Style>
<Placemark>
<name>Betten</name>
<description><![CDATA[<table width="400">
<a href="http://www.kandiefoto.nl/panorama/1/betten.htm"><img width="215" height="100" src="http://farm4.static.flickr.com/3179/2365173233_6452ffb940_m.jpg?imgmax=10"></a>
</table>""></description>
<styleUrl>#style1</styleUrl>
<Point>
<coordinates>52.73209,5.02006,0.000000</coordinates>
</Point>
</Placemark>
</kml>
and the code in my panorama xml.
<spot id="gmap" url="graphics/gmapsample.png" alpha="0.7"
static="1" staticX="-7" staticY="-260" align="LB" salign="LB" depth="103"
onpress="contrast=1" onrelease="contrast=0" onload="alpha=0;alpha=0.7,350"
onClick="gmapswf.visible=1; close3.visible=1; slideshow.visible=0; gmap.visible=0; pageflip.visible=0; qualityStatic.low" />
<spot id="gmapswf" url="files/gmap.swf" visible="0" static="1" align="mm" onOver="gmapswf.alpha=1;1.visible=1; ;pano.disablepan=1;pano.disabletilt=1"/>
<spot id="close3" url="graphics/gmapsampler.png" visible="0" static="1" staticX="-7" staticY="-260" align="LB" salign="LB" depth="111" onOver="brightness=1" onOut="brightness=1" onClick="pano.disablepan=0;pano.disabletilt=0; gmapswf.visible=0; slideshow.visible=1; gmap.visible=1; pageflip.visible=1; close3.visible=0; qualityStatic.high" />
/* ---- Einde gmap ---- */