lat-lng parameters from outside GGM plugin ?

  • Hi all,

    I use GGM plugin in a globals.xml file called from (include tag) many panoN.xml, and I want each of them containing the lat-lng parameters for the initial position and spot (which are different from any panoN.xml file) .
    But these parameters are normally included in the GGM plugin tags: so I need to pass these parameters from outside the plugin.
    Is this possible ? If yes, as I'm not very familiar with this process, could someone help me with the right syntax in both the pano.xml file and the globals.xml file?

    Thanks for any help.

    Phil

  • ...better if I explain what I'm trying to do :
    in the pano xml file :

    Code
    <action name="setposition"> set(plugin[map].lat,43.194); set(plugin[map].lng,0.538816);</action>


    ...and in globals xml file :

    Code
    <plugin name="showmap"  url="googlemaps-logo.png" .../...onclick="setposition();"/>


    shouldn't it work?

    thanks for your help

    Phil

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!