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/6776d9ffab859fa7/7854965c5bbd70a9?lnk=gst&q=prototype+js#7854965c5bbd70a9
>
> 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 [email protected]
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