Title: [Plugin: Basic Google Maps Placemarks] Filter Placemarks
Last modified: August 20, 2016

---

# [Plugin: Basic Google Maps Placemarks] Filter Placemarks

 *  [aby87](https://wordpress.org/support/users/aby87/)
 * (@aby87)
 * [13 years, 11 months ago](https://wordpress.org/support/topic/plugin-basic-google-maps-placemarks-filter-placemarks/)
 * Is there any way to have a filter which will meet a set of terms.
 * For example, If I have a map which shows parks and restaurants. Some of these
   parks have play grounds and some dont. Some restaurants have gluten free options
   and some dont.
 * When the map initially loads it shows all parks with and without playgrounds 
   and all restaurants with and without gluten free options.
 * Is it possible to have a filter which allows a user to select parks and and also
   select playgrounds. Then the map will only show the parks with playgrounds and
   ignore all other placemarks.
 * Thank you for your help in advance/.
 * [http://wordpress.org/extend/plugins/basic-google-maps-placemarks/](http://wordpress.org/extend/plugins/basic-google-maps-placemarks/)

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Author [Ian Dunn](https://wordpress.org/support/users/iandunn/)
 * (@iandunn)
 * [13 years, 11 months ago](https://wordpress.org/support/topic/plugin-basic-google-maps-placemarks-filter-placemarks/#post-2725182)
 * The plugin doesn’t support that by default, but if you’re comfortable with PHP
   it wouldn’t be hard to extend it.
    1. Create a custom tag taxonomy. See the `createCategoryTaxonomy()` function in
       core.php for an example, but set the `hierarchical` parameter to `false`.
    2. Tag the Placemarks with “gluten free”, etc
    3. Create a callback function for the `bgmp_get-map-placemarks-query` filter to
       add a `tax_query` parameter for the new taxonomy. See `getMapPlacemarks()` in
       core.php for an example.
 *  [mathewmackenzie](https://wordpress.org/support/users/mathewmackenzie/)
 * (@mathewmackenzie)
 * [13 years, 11 months ago](https://wordpress.org/support/topic/plugin-basic-google-maps-placemarks-filter-placemarks/#post-2725407)
 * Love to see an update to permit filtering of markers 🙂

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘[Plugin: Basic Google Maps Placemarks] Filter Placemarks’ is closed to
new replies.

 * ![](https://ps.w.org/basic-google-maps-placemarks/assets/icon-128x128.png?rev
   =1152531)
 * [Basic Google Maps Placemarks](https://wordpress.org/plugins/basic-google-maps-placemarks/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/basic-google-maps-placemarks/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/basic-google-maps-placemarks/)
 * [Active Topics](https://wordpress.org/support/plugin/basic-google-maps-placemarks/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/basic-google-maps-placemarks/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/basic-google-maps-placemarks/reviews/)

 * 2 replies
 * 3 participants
 * Last reply from: [mathewmackenzie](https://wordpress.org/support/users/mathewmackenzie/)
 * Last activity: [13 years, 11 months ago](https://wordpress.org/support/topic/plugin-basic-google-maps-placemarks-filter-placemarks/#post-2725407)
 * Status: not resolved