Thank you so much for your input, Mike, (and your website, which has
been very useful in even getting me to this point!). I was moving
towards KML since it looked like it might work in with the Google Maps
Data API, but I got in over my head with that.  In the KML, I encoded
my own extended data, including data values for the two categories I'm
interested in, but could not find a function that will access the data
within the file and decide whether to display or hide a particular
marker. It seems like you're saying a {createmarker} function would be
helpful in this...could you give me a bit more direction with this? Or
does that just bring me to the point where I would need to begin
filtering?

I do have my data in an xml file that I can return to, which is turned
on and off by category, like you suggested and in your sample - but
again I cannot find any documentation on how to do that next step of
checking each point against two values from a drop down menu. I
appreciate any suggestions on how to approach this or where I can find
helpful info.
Thanks again!!!

Morgan

On Jan 15, 5:24 am, Mike Williams <[email protected]> wrote:
> I'd recommend ditching KML if possible. Then you end up with something
> just a little bit more complicated than this:
>
> http://econym.org.uk/gmap/categories.htm
>
> The big difference is that you can't just do hide(category) and
> show(category) based on an individual checkbox. Whenever a checkbox
> changes you have to scan through all the markers and test each one
> against both sets of checkboxes.
>
> If you can't ditch KML then you'd have to use a third party KML parser,
> like GeoXml (because GGeoXml doesn't expose the markers). Glue all your
> data together in one big KML file. Then you somehow have to encode the
> category information into an existing KML field that GeoXml gives you
> access to, that might be a bit awkward. Write your own {createmarker}
> function to extract this information from what GeoXml gives you and
> attach it to the marker. That gets you back to about the same sort of
> place that you'd be at if you ditched KML.
>
> --
> Mike Williams
> Back from exile!
-- 
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