I don't know exactly how to go about asking this question, without posting a load of code, but basically does anyone here know of any example code using AngularJS to dynamically add/remove Google Map markers, depending on a filtered list of results?
For example, say I have a list of 10 people buried in 10 different locations. Lets say 3 of them have the surname "Smith", so when a user types in "Smith", I only want those 3 burial locations to appear on a Google Map, clearing the other 7. I know I'm over simplifying the question, but I can't find how to do this anywhere! Currently I'm using PHP + MySQL to pull a list of people & burial locations from a MySQL database and encode them to a JSON file. I'm then using AngularJS to filter the results on the fly, so when someone types in the search field, a table below list only the people with that name ... I want to link this to a Google Map also only showing the location of those burial results on the fly, and I'm suffering from complete brain fade ... help me, please! -- You received this message because you are subscribed to the Google Groups "AngularJS" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/angular. For more options, visit https://groups.google.com/d/optout.
