Hi Julia,

Try using the AJAX plugin rather. Documentation here: 
http://code.google.com/apis/ajax/documentation/#GettingStarted

Hope this helps.

Lance Willett wrote:
> Hi Julia,
> When you are using $javascript->link you will generally want the
> script to be called in the head of the document (not inline). Which
> means adding "false" as the second parameter: see
> http://api.cakephp.org/class/javascript-helper#method-JavascriptHelperlink.
>
> Calling the Google Maps script inline could be causing the issue.
>
> On Nov 16, 5:04 pm, Julia <[email protected]> wrote:
>   
>> Hi,
>>
>> I have been fighting with GoogleMap vs. CakePHP for a few hours.
>> I have a layout in which I call:-
>>
>> $url = 'http://maps.google.com/maps?file=api&v=2&key=MYKEY';
>> echo $javascript->link($url);
>>
>> when I attempt to display a page using this layout, the brower hangs
>> displaying "Read maps.gstatic.com" in the status bar.
>>
>> I cannto see any error in Firebug,
>>
>> What's more, if I call "http://maps.google.com/maps?
>> file=api&v=2&key=MYKEY" in my browser window, it displays well.
>>
>> Any help wouold be greatly appreciated.
>>     
>
> --
>
> You received this message because you are subscribed to the Google Groups 
> "CakePHP" 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/cake-php?hl=.
>
>
>   

--

You received this message because you are subscribed to the Google Groups 
"CakePHP" 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/cake-php?hl=.


Reply via email to