On 9 November 2010 15:59, xelawho <[email protected]> wrote: >> Yes. Hide all the ones you aren't showing. > > ... which looks like it might take a little more than: > else { > gpolygons[i].hide(all); > } > > a clue, please?
I suggest a glance at the documentation. http://code.google.com/apis/maps/documentation/javascript/v2/reference.html#GPolygon.hide There is no "(all)", and you have a clue already with gpolygons[i] -- just loop through all the members of the gpolygons[] array and .hide() them all. -- 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.
