Call to experts:

I have newbie's  problems with revBrowserCallScript. I'm using a browser and an 
html file built according to various examples to display google maps; it's OK 
and revBrowserCallScript works as expected for functions without parameters… 
but issues an error when I try to use parameters. I didn't find anything very 
enlighting in doc, former messages and forums… Thanks for any hint !

Jacques

My function call:

                get 
revBrowserCallScript(LBrowserID,MoveAndZoom,tLat,tLong,tZoom)

the function called (one of several different versions):

                function MoveAndZoom(pLat,pLng,pZoom)
                {
                var tCenter = new google.maps.LatLng(pLat,pLng);
                var sortie = "OK";
                map.setZoom(pZoom);
                map.panto(tCenter);
                return sortie;
                }

I also tried with map.setCenter(tCenter), as well as with and without 'get' and 
'return sortie;'. 

the error is (External handler: exception) near "error in script"






_______________________________________________
use-livecode mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to