Mike Williams wrote:
> Wasn't it phpWalter who wrote:
>   
>> Yea, I was afraid of that.
>>
>> It does seem such a waste of processing to have to cycle through an
>> array every time I want to show/hide a set of markers.
>>
>> I would think the Google API would allow me to define a set of markers
>> as a "group" and allow me to show/hide markers based upon that
>> "grouping".
>>     
>
> How would you expect the API to be able to do that without creating an 
> array to hold references tot he markers that you specify and cycle 
> through them? The processing would be exactly the same whether you do it 
> in your own code or in the API.
>   
I would expect the api could create a separate map subpane for a 
grouping and reference that dom object on the hide method
for that group so the browser would itself iterate through the dom 
objects children when the pane was hidden.
Would the above scenario be faster than iterating through a javascript 
object array that stores a reference
to a dom object.?... possibly.... possibly not in any significant fashion.


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Maps API" 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