Thanks Marcelo I have change the overwriting and the loop :)
But not a big change in IE !!! any other good proposal ? On Mar 31, 11:48 am, Marcelo <[email protected]> wrote: > On Mar 31, 10:24 am, "rcheli.dk" <[email protected]> wrote: > > > > > Any input would be great. > > hhhmmmm ... You're overriding the API's own methods, so I am not sure > I want to get my hands in there. > > In any case, this looks like an endless loop: > > google.maps.Marker.prototype._setMap = > google.maps.Marker.prototype.setMap; > > google.maps.Marker.prototype.setMap = function(map) { > if (map) { > map.markers[map.markers.length] = this; > } > this._setMap(map); > > }; > > -- > Marcelo -http://maps.forum.nu > -- -- You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" 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-js-api-v3?hl=en.
