you could pass a url or post variable into the sql statement to filter it and reload the page but you cant do it with javascript.
also take a look at spry xml, this may allow you to filter without reloading. On Apr 1, 1:52 pm, Marcelo <[email protected]> wrote: > On Apr 1, 1:07 am, Johnny89 <[email protected]> wrote: > > > Hello!, I was just wondering if anyone knew how I could filter my SQL > > results displayed on my Google Map by the attribute... For example I > > have a google map that displays properties for sale from an SQL > > database, how can I create the javascript to then only show, say > > properties with 2 bedrooms or price below a certain amount etc... I > > can't seem to find any points in the right direction on how to get > > started with this so was just wondering if anyone could help. > > You won't find many posts about SQL in this group because this group > is not about SQL, and you cannot filter database results with a client > side language like javascript. > > -- > Marcelo -http://maps.forum.nu > -- > > > > > Thanks > > John -- 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.
