PDA

View Full Version : Spots doesn´t load with external map calls


Aifos
11-14-2007, 10:30 PM
hi!
i´m developing an external map. It has spots inside that calls panoramas in the same window.
each spot has this function:
......."+ExternalInterfaceID+"PanoExecute", "loadPano(panoName=pano1&panHome=xxx&tiltHome=xxx,300)"

the thing is that the pano i´m calling, has spots inside programded at the xml file, that calls other panos.
My tour has 2 ways for navigate. External Map and spots inside the pano.
When a new pano is called from the external map, the spots inside the pano doesn´t load.

Why is that?
is there any solution?
please! this is a big problem for me! i really need to solve this!

many thanks

aifos.

zleifr
11-15-2007, 03:53 AM
did you try &xml_file=path/to/xml after panoName?

Aifos
11-15-2007, 05:50 AM
did you try &xml_file=path/to/xml after panoName?

oh! i´ll try that! it sounds it could work.

thanks!

Aifos
11-16-2007, 11:31 PM
I solved the problem!

the path from the map to the panorama where complete, with "http://www.visit...."; but the path for the linked spot in the xml, where just "../directory/pano"
that is why, calling from the map, it didn´t recognized the linked spots, because the path was diferent.

keep that in mind for external aplications and linked spots!!!

cheers!

;)