Hey all

Relative novice to Google Maps and had a query was struggling to
resolve was hoping for some sage advice on.

I'm redoing a website one of the features of which is a map of places
to visit - basically choice sites around the UK broken down into
types.

The idea: stick 'em on Google Maps for visitors to interogate.

I've built a section of the site (in Expression Engine) to export
these sites as XML (name, long/lat, etc) to populate the map.

Anyway - the 'sites' are broken down by type which can be accessed via
applying a category to the source URL. My desire is to add the ability
to hide or show each type via external controls. Any one site can have
multiple 'types' associated with it.

My confusion is this - and this is hopefully where you might be able to help ;)

If I want to break down the site markers being displayed on the map
how best do I achieve this?

1) Is there a way I can use an external control to adjust the XML file
being queried to populate the map (for example by switching the source
URL or by applying variables to it), or
2) is there a way I can apply filtering after the source XML has been
queried to selectively hide or show certain site markers depending on
their 'type'?

If the second option is better then how would sites featuring a range
of types be treated (given that site types are one to many rather than
one to one)? What is the best way to denote this relationship within
the source XML?

Is there a way that an individual marker in Google Maps can feature
multiple types, eg. by
comma or pipe separated values?

Sorry for brain dump - stepping outside my comfort zone and figure it
must be relatively easily achieved. Just can't quite figure out how
just yet.

Happy to supply source/sample URLs off list or further explanation if
the above seems a bit confusing.

Thanks in advance!

Cole

-- 
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