revBrowserCallScript

Jacques Hausser jacques.hausser at unil.ch
Fri Mar 22 04:00:00 CDT 2013


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"








More information about the use-livecode mailing list