> maybe a 'var' for your map and marker objects??

Adding var declaration doesn't fix my problem

>
> Your line -
>     GSearch.setOnLoadCallback(load);
> calls your load() function.  So does your <body> tag.  I think this
> will mean multiple set-ups of the GMap2 object, etc.
>
> Compare with Google's very similar example at -
>    http://www.google.com/uds/solutions/localsearch/compact.html
> and note that Google use -
>   <body onunload="GUnload()">

Yes. If I change "<body onLoad="load()" onUnload="GUnload()">" to
"<body onUnload="GUnload()">", it's OK

Thanks a lot

>
> cheers, Ross K
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Maps API" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Maps-API?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to