Hi,

I recently have trouble with markers. Everything was working perfectly
till about 2 weeks ago.
Than Ive noticed that there is an javascript error which causes that
markers dont show. I have not touched my code for last few months and
everything was working so I assume that Google have changed something
in their code and now I have to make changes in mine.

The code containing error is following:
// add multiple overlays at once
 GMap2.prototype.addOverlays = function (a) {
  var b = this;
  var i = a.length;
  while (i--) {
   b.Ia.push(a[i]);
   a[i].initialize(b);
   a[i].redraw(true);
  }
};

The error in above code is here:
b.Ia.push(a[i]);


Ia - with capital i and small a,

My IE says the 'Ia' is null or not an object.

If I remove the line 'b.Ia.push(a[i]);' the markers load without
errors, but this time the problem is with zooming. When I zoom out the
markers dont follow, just stay where they were, which means that as I
zoomed out, the markers distances dont change, so by continously
zooming out I end up having markers on the sea but not where they
should be.

Can anyone explain what happened? Everything was fine till 2 weeks
ago.
In Firefox the markers wont load even if I remove that line with
'b.Ia.push(a[i]);'.

Thanks

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps API V2" 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-api?hl=en.

Reply via email to