• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

Database driven Google Maps question

MBony

Platinum Member
I have a php/mysql database of people and their physical address as well as some misc. information about them (example=what color car they drive). I want users to be able to only display certain color cars at a time on the map(example=i only want to see the people who have red cars, then maybe red and blue cars). So maybe have a checkbox to the side with the different colors, but how do i make a color disappear when it is unchecked?

I'm sorry if I'm not explaining this better. Please ask me a question if confused.
 
Isn't it just a matter of creating a GMarker for each person, and then adding/removing them based on your checkbox events?
 
Originally posted by: lozina
checkbox events?

I'm not familiar with google maps, but do look up on this. When anyone clicks on your check-box, it should generate an event that you can catch. The first thing you'll need to do is read the status of the check-box. After that, it shouldn't be too hard to get the rest done.

-cd
 
Back
Top