On Oct 26, 8:44 am, Paul Rutt <[email protected]> wrote: > Yes I've spotted that and amended it but still get: > > markers[i].setVisible is not a function
markers is an array of XML DOM elements, they don't have .setVisible methods. You need to create an array of the google.maps.Marker objects you create if you want to affect them after they have been created. See: http://www.geocodezip.com/v3_MW_example_map3.html for an example that does that. -- Larry > > in the console? -- 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.
