JUst to confirm what T.J has said, your site currently uses prototype
(and jQuery in the play nice mode) with google maps, and all run fine
together.  This is for both Gmap2 and Gmap3 api's

Having done a lot of programming with google maps, this is most likely
other code that is incorrectly call into the api's (well that was the
sort of errors that cause this sort of thing for me.)

Regards.

-- 
andrew 'daff' niles | spidertracks | 117A The Square 
po box 5203 | palmerston north 4441 | new zealand 
P: +64-6-353-3395 | M: +64-21-515-548 
E: [email protected] www.spidertracks.com


On Sun, 2011-05-08 at 02:30 -0700, T.J. Crowder wrote:
> Hi
> 
> > Also the console shows a warning:
> >
> > "Warning: This site adds property <extend> to Object.prototype.
> 
> If you have some tool saying that, it's a bug in the tool. Prototype
> doesn't add anything to `Object.prototype` (for the very reason given
> in the error). Prototype *does* add `extend` and 15 other functions to
> `Object`, which is a *very* different thing (and doesn't break
> `for..in` loops).
> 
> > Iam getting the javascript errors if I use prototype.js
> 
> What other errors are you getting? I'd be pretty surprised if just
> having Prototype loaded would break Google maps' code. They'd pretty
> much have to be doing `for..in` on *array* instances without proper
> safeguards, and I doubt they're doing that.
> 
> HTH,
> --
> T.J. Crowder
> Independent Software Engineer
> tj / crowder software / com
> www / crowder software / com
> 
> 
> On May 7, 10:45 am, venu <[email protected]> wrote:
> > Iam getting the javascript errors if I use prototype.js
> >
> > Also the console shows a warning:
> >
> > "Warning: This site adds property <extend> to Object.prototype.
> > Extending Object.prototype breaks JavaScript for..in loops, which are
> > used heavily in Google Maps API v3."
> >
> > Please help me out
> 

-- 
You received this message because you are subscribed to the Google Groups 
"Prototype & script.aculo.us" 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/prototype-scriptaculous?hl=en.

Reply via email to