Hi Tobie,

I have no doubt that I am doing something wrong, but I just can't work
out what.

I am using rails 2.0.2 along with prototype 1.6.0.1

I know its a big help but I would really appreciate someone posting
some form of sample code (full html) which I can test.

Thanks

Josh

On May 4, 12:46 am, Tobie Langel <[EMAIL PROTECTED]> wrote:
> Pretty surprised about this issue you're reporting.
>
> No problems using Google-maps combined with Prototype on my side.
>
> http://www.who-s-web.com/uses both very successfully too.
>
> The two posts you link to refer to Prototype version 1.3 (that was
> nearly 3 year ago, now).
>
> I think a failing test case would be appropriate if you're really
> having issues.
>
> Best,
>
> TObie
>
> Josh K wrote:
> > Hi Guys,
>
> > I am trying to build a Rails app which uses Prototype and Google Maps
> > but have run into issues with Prototype and Google Maps both extending
> > Objects and Arrays.
>
> > I have searched about this problem and came across these two posts in
> > the Google Maps group.
>
> >http://groups.google.com/group/Google-Maps-API/browse_thread/thread/6...
>
> >http://groups.google.com/group/Google-Maps-API/msg/8181afc4277d3991
>
> > I was using Prototype to observe the document dom:loaded event to run
> > a method which set up the Google Map, but this caused the following
> > error:
>
> > a has no properties
> >http://maps.google.com/intl/en_ALL/mapfiles/108/maps2.api/main.js
> > Line 50
> > function Yb(a){var b;while(b=a.firstChild){Xb(b);a.removeChild(b)}}
> > Yb(null)main.js (line 50)
> > R(null, Object)main.js (line 521)
> > xx(null, Object)main.js (line 1619)
>
> > When I use the onload event hook inside of the body tag it seems to
> > work better (although Firebug reports recursion warnings).
>
> > Does anyone know how to use Prototype and Google Maps together without
> > these errors.
>
> > Thanks
>
> > Josh

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Spinoffs" group.
To post to this group, send email to rubyonrails-spinoffs@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-spinoffs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to