Hi,

It sounds like this bug -
http://code.google.com/p/gmaps-api-issues/issues/detail?id=2275 which has
been fixed but not released yet.

I could be wrong, you code is a little bit hard to read :)

- Luke

On Thu, Apr 8, 2010 at 8:48 AM, jrgeerdes <[email protected]> wrote:

> Greetings, everyone! Writing an app where a bunch of markers are
> populated via a JSONP request to the server whenever the viewport of
> the map changes. The first time the markers are retrieved and
> populated, only the first marker is visible. I believe that the others
> are placed on the map because, if I disable the bounds_changed
> listener and change zoom or move the map, the other markers appear.
> Also, if I use the console to compare the output of each
> marker's .getMap() method, it returns true. But they are not visible
> initially. Additionally, when the update mechanism is called a second
> time, whether by a bounds_changed listener or manually, all of the
> markers appear as expected.
>
> The problem appears in at least FF 3.6.3 and Chrome, and I am seeing
> no relevant errors in either. You can check it out at the link below.
>
> http://www.e-topo.com/jETPI/jETPI2/jETPI2.html
>
> The relevant JS is in jETPI2.js. In that file, the bounds_changed
> listener is set on lines 112-118, the JSONP request is initiated on
> lines 142-151, the callback which parses the JSONP responseis on lines
> 152-185, and the marker is actually created and placed on the map on
> lines 186-196.
>
> Any insights would be greatly appreciated!
>
> --
> 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]<google-maps-js-api-v3%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/google-maps-js-api-v3?hl=en.
>
>

-- 
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.

Reply via email to