I want to search my db for some locations and display them on a google
map.

I'll probably only be bringing back about 20 but they may be a mix of
establishment types. I'd then like to allow the user to filter the
results so it only shows particular establishment types.

Let's say it brings back "bar"s and "night_club"s but when the user de-
selects bars (by unchecking a checkbox for "bar" establishments)
there's only 1 night_club left out of the 20 results but if the user
had just been able to search my db for locations that I have that
google says are night_clubs then there could have been 3 displayed but
they were outweighed by all the bars that were returned closer to a
particular position.

Would I need to store the establishment type when I save the location
info to my database so that a user could filter particular
establishment types or is there a better way of doing this that I've
not thought of?

Thanks

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps JavaScript API v3" 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-js-api-v3?hl=en.

Reply via email to