Display problem in my pano preview google map

  • Hi at all


    Hoping to post good place

    I have a small problem with KRPano and Google map.

    The link to see the problem: Priory of Grammont


    I made my 1st visit with panotour pro, then protected with Krpotect. But now when I go through the Google map it gives me an error message:

    Navigating the pano, the resolution is zero (it displays the preview) go into another room and all the changes the message remains, close and return to normal resolution is 1 ° pano there is no message and the resolution is normal.

    Try using the link below the map and then all works well!

    If anyone has a solution, I'm interested *wink*

    Thank you in advance for your help.


    Philippe

    2 Mal editiert, zuletzt von phil85 (13. Februar 2011 um 08:12)

  • Hi,

    it seems to be a path problem,

    first try using the latest krpano version to be sure that's not bug,
    then check if the paths in the xml file are relative to the xml file,
    when the xml is embedded then the paths must be relative to the swf file,
    because there are no path informations anymore,

    best regards,
    Klaus

  • Hi,

    it seems to be a path problem,

    first try using the latest krpano version to be sure that's not bug,
    then check if the paths in the xml file are relative to the xml file,
    when the xml is embedded then the paths must be relative to the swf file,
    because there are no path informations anymore,

    best regards,
    Klaus


    Hello to you all


    Klaus thank you for your answer
    Sorry for the late reply


    I searched for a problem link. xml files, I have not seen


    I attached the 2 files that apparently problematic


    this concerns the 1st ball in the open page with google map


    Directory organization and spherica lin the directory are:

    grammontk.swf (the k because I renamed passing through KRprotect)
    grammont.html (modif made regarding grammontk.swf)
    grammont.xml
    grammont0.xml
    grammont1.xml
    grammont2.xml
    grammont3.xml
    The directory containing the directories grammontdata grammont0, ... 1 ... 2 ... 3 and the graphics directory

    Following is the problem, if one wishes to observe the phenomenon : see here

  • Hi,

    okay, the problem is that the xml is embedded into the swf,
    and by default the paths in the xml are relative to the xml,
    now without xml there is no relative path to the xml and so also no relative path for the images,
    and so it will search the images in the folder of the html file,

    one solution would be by editing the xml and adding %SWFPATH% in front of the image urls,
    or an other solution to set the Flashplayer "base" parameter to the path where the xml was,

    best regards,
    Klaus

  • Hello Klaus

    Thank you for your help, my level of programming xml is at zero. *cry*
    Can you put me an example, such as changing the. xml that create a problem with the technical %swfpath%.
    I think the xml file in question is: grammont0.xml (cloister, 1 ° file upload in google map),one that gives the path to the sides.
    If that thee can, I'll be grateful. *thumbsup*

    Thank you in advance for your help.
    Greetings
    Philippe

  • Hi,

    okay, the problem is that the xml is embedded into the swf,
    and by default the paths in the xml are relative to the xml,
    now without xml there is no relative path to the xml and so also no relative path for the images,
    and so it will search the images in the folder of the html file,

    one solution would be by editing the xml and adding %SWFPATH% in front of the image urls,
    or an other solution to set the Flashplayer "base" parameter to the path where the xml was,

    best regards,
    Klaus


    Good morning at all


    I changed the path to the cubic faces, as I have been advised.
    And nothing will do, always an error loading the faces in google map.


    Before I've that :


    Now I'm change by this version :



    Perhaps I have not well understood the explanation was Klaus, or order it somewhere else .

    Or is this the wrong file I changed, but the file for the launch of 1 ° spherical in Google map is grammont0.xml


    I'm don't understand what happens


    Please , help me ! *cry*


    Thanks a lot

    Philippe

    Einmal editiert, zuletzt von phil85 (20. Februar 2011 um 09:07)

  • Hi,

    try to add that %SWFPATH% also to all other url="..." attributes,
    e.g. for the <preview> and the <plugin> and <hotspot> tags,

    best regards,
    Klaus


    Hello klaus and all

    I followed your advice and change all the url's by adding %SWFPATH%/ and always the same.
    I wonder if the problem is my link for access to the summary of the visit to the Google page.


    I tried to start a thread on the Google forum, but this does not .


    Thanks for your help


    Best regards

    Philippe

  • Hi Philippe,

    I think the problem is how you had made your protected swf file grammontk.swf...
    I think you had enabled the option Dissable External Parameters (HTTP, FlashVars)
    So you can't see the changes you are making inside those external files grammont.xml and grammont0.xml
    Try this link:
    http://www.photos-et-panoramas.fr/sph/sphpdl/gra…_file=SAlut.xml
    It works... because it does not look for the external file SAlut.xml but the one already inside your protected swf...
    And there, your images path are not set with the placeholder %SWFPATH% *attention*

    When you open your swf directly, the image path is correct ...
    http://www.photos-et-panoramas.fr/sph/sphpdl/grammontk.swf

    But when you try to open it from
    http://www.photos-et-panoramas.fr/sph/pdlgoogle.html
    the path to your images becomes:
    http://www.photos-et-panoramas.fr/sph/grammontdata/grammont0/2.jpg
    instead of :
    http://www.photos-et-panoramas.fr/sph/sphpdl/gra…grammont0/2.jpg


    Hope this help...

    SAlut

  • Michel thank you for your visit.

    No, I did not enabled" Disable External Parameters (HTTP, FlashVars)"
    For the link that you have: http://www.photos-et-panoramas.fr/sph/sphpdl/gra…_file=SAlut.xml, it opens a blank page?


    I do not understand where is the problem of link, how to fix it? *confused*


    Thanks a lot Michel for your help

  • Hi Philippe,

    Zitat

    it opens a blank page?

    You have tried to open it on Internet Explorer, right?
    Try this one:
    http://www.photos-et-panoramas.fr/sph/sphpdl/grammontk.swf?xml_file=SAlut.xml&
    It works... So, that's mean that krpano is opening an xml embedded inside himself rather than the external one... then, you can't see the changes you are trying to make inside those external xml files...

    You have to make the changes inside the xml file you have embedded inside your protected swf and remake your protected file including this new xml ...

    Zitat

    I do not understand where is the problem of link, how to fix it? *confused*

    Using the placeholders like %SWFPATH% *smile* ... They are just for that *wink* ...

    SAlut.

    Einmal editiert, zuletzt von michel (6. März 2011 um 19:19)

  • Hi Philippe,

    You have tried to open it on Internet Explorer, right?
    Try this one:
    http://www.photos-et-panoramas.fr/sph/sphpdl/grammontk.swf?xml_file=SAlut.xml&
    It works... So, that's mean that krpano is opening an xml embedded inside himself rather than the external one... then, you can't see the changes you are trying to make inside those external xml files...

    You have to make the changes inside the xml file you have embedded inside your protected swf and remake your protected file including this new xml ...

    SAlut.

    Thank you again Michel

    If I understand because my English is pretty rusty, sorry.
    I use Google translate for help me.
    I must change all URLs adding %SWFPATH% as he had been informed by Klaus. xml as the changes I make, but before entering Kprotect.


    Thanks again Michel ,but I'll have to wait until next weekend to return to my problem, I could watch the messages in the week but I will surely be difficult to make changes.


    Best regards

    Philippe

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!