Any idea why this method was not implemented in V3 ?

On 17 mai, 17:54, "[email protected]" <[email protected]> wrote:
> On May 17, 8:30 am, bertaudmarc <[email protected]> wrote:
>
> > When, in the context of an application and for various reasons, the
> > overlays cannot be recorded in arrays, how to simulate a
> > map.clearOverlays() ?
> > call setMap(null) in a loop obliges to maintain references for each
> > kind of overlays (marker,icon,polygon, etc...) !
>
> If you can't store them in arrays, then you can't use a loop.  I find
> it hard to conceive of a reason why you wouldn't be able to store them
> in an array, if only for this purpose.
>
> The only option other than that that I can think of is to hardcode a
> list.  I guess you could recreate the map from scratch...
>
>   -- Larry

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