Dear William, dear Larry, dear Mike, thanks to all of you, I made it finally work!
@ William: your hint was "the missing link", so thank you so much!!! @ Larry: thank you again for insisting on me going through the fundamentals again and again. I learned a lot! @ Mike: thanks for your excellent tutorials. The page is based on Mike Williams' "Marker Categories" - Tutorial. Just in case you are interested: To make my page more user-friendly, I added a function to Mike's tutorial construction called "checkStatus(category)"; it allows reading the checkboxes' status whenever the search parameters are changed (e.g. the radius). So instead of resetting the checkboxes to the predefined status in the script again and again, it leaves them as they are and shows the corresponding markers and sidebar entries accordingly. Here is the page: http://www.erstmalkucken.com/travenue0010.html I am really happy ... Greetings - and thanks again, Jensen On Oct 10, 7:55 am, William <[EMAIL PROTECTED]> wrote: > 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 -~----------~----~----~----~------~----~------~--~---
