Thanks for the reply. i've tried a few different ways to add the properties to an array, but i can't seem to get the effect that i wanted
so i use three different arrays for three different attributes (from an xml file), instead of adding them to properties of one array. Will there be any down side for this? Thanks On Nov 26, 9:07 pm, Esa <[EMAIL PROTECTED]> wrote: > On Nov 26, 3:37 pm, musha <[EMAIL PROTECTED]> wrote: > > > is it possible if i use "somevariable.mycategory" if, say, that > > somevariable is not GMarker, or GPolyline or other gmap classes. > > > Because i need to make some arrays that have multiple infos > > You can put '.mycategory' property to any *object*. A standardarray > is an exception. AnArraywith numbered index does not take additional > properties. AnArraywith string indexes takes any property because it > actually isn't anarraybut an Object. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
