Title: Hide/Show marker
Last modified: August 30, 2016

---

# Hide/Show marker

 *  Resolved [Toutha](https://wordpress.org/support/users/toutha/)
 * (@toutha)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/hideshow-marker/)
 * Hi,
    I wish to hide or display markers. the images of the markers were created
   with geo_mashup_locations_json_object function, but I can not retrieve the information
   to show or hide some markers that are created by METABOX with radio button. I
   can not find which functions to use. I tried using ‘markerVisibilityOptions’ 
   but it does not work Thanks
 * [https://wordpress.org/plugins/geo-mashup/](https://wordpress.org/plugins/geo-mashup/)

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

 *  Thread Starter [Toutha](https://wordpress.org/support/users/toutha/)
 * (@toutha)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/hideshow-marker/#post-6309121)
 * Is it possible to have the same thing as this example?
    [example](http://www.media-objectif.fr/googlemap/)
 *     ```
       function toggleGroup(type) {
         for (var i = 0; i < markerGroups[type].length; i++) {
           var marker = markerGroups[type][i];
           if (!marker.getVisible()) {
             marker.setVisible(true);
           } else {
             marker.setVisible(false);
           }
         }
       }
       ```
   
 * I can find any maps created by geo mashup with metabox to hide or show the marker
   🙁
 * Thanks
 *  Plugin Author [Dylan Kuhn](https://wordpress.org/support/users/cyberhobo/)
 * (@cyberhobo)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/hideshow-marker/#post-6309363)
 * [objectVisibilityOptions](http://code.cyberhobo.net/jsdoc/geo-mashup-1.8/symbols/GeoMashup.html#event:objectVisibilityOptions)
   is the action called for each object on the map to test whether it should be 
   visible or not. To trigger it, call [GeoMashup.updateMarkerVisibilities()](http://code.cyberhobo.net/jsdoc/geo-mashup-1.8/symbols/GeoMashup.html#.updateMarkerVisibilities).

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

The topic ‘Hide/Show marker’ is closed to new replies.

 * ![](https://ps.w.org/geo-mashup/assets/icon.svg?rev=1631806)
 * [Geo Mashup](https://wordpress.org/plugins/geo-mashup/)
 * [Support Threads](https://wordpress.org/support/plugin/geo-mashup/)
 * [Active Topics](https://wordpress.org/support/plugin/geo-mashup/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/geo-mashup/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/geo-mashup/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [Dylan Kuhn](https://wordpress.org/support/users/cyberhobo/)
 * Last activity: [10 years, 9 months ago](https://wordpress.org/support/topic/hideshow-marker/#post-6309363)
 * Status: resolved