Thanks to you both, I didnt realise you could code the infowindow so
effectively.

Further to this - could you have the markers appear with different
icons depending on which category was searched for?

Also - I will speak to our web designer about the missing <head>
section.

Always amazing how helpful this site is! We pay the web consultants a
fortune and they seem to have no real idea about all this.


Rupert

On Sep 9, 11:43 am, Rossko <[EMAIL PROTECTED]> wrote:
> > Wouldnt I need to make every marker have a tab
> > for each category which may or may not be populated if that location
> > has data for that category?!
>
> No problem, you can have the code that builds the infowindow only
> display tabs if there's something to go in them.
>
> If you're going to have any function like show/hide markers by
> category, you could test the same data to see if each marker falls
> into that category (as well as any others).
>
> A tricky part might be poulating the markers initially - i.e. when
> adding the second category from a new dataset you will need a test
> "does this location already exist?" and only create a marker if not.
> You could probably use something like an internal site reference
> number rather than any fancy geo-methods.
>
> cheers, Ross K
--~--~---------~--~----~------------~-------~--~----~
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