On Oct 10, 9:33 am, Jensen <[EMAIL PROTECTED]> wrote:
> the travenue0004 page, which I tried to construct according to
> Mike Williams' tutorial, does NOT work! As I explained; I simply
> cannot find the mistake in my code, that makes my sidebar adding up
> entries while Mike's page's sidebar refreshes as it should.

when processing the search results, you should clear the array that
stores the markers.  This array is called iconGroups.  It is declared
in global context, and initialized to an empty array only once, when
the page is loaded.  When you clear the markers from the map, you
should also empty this array.

After the statement:

map.clearOverlays();

insert the line:

iconGroups = [];
--~--~---------~--~----~------------~-------~--~----~
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