These filters are for advanced users / developers


Allows filtering of shortcode atttributes this allows you do dynamic allocation e.g. if you code things via a do_shortcode() or if you want to fix something site wide

function my_atts_function($atts) {     
$atts['nozoom'] = 'true';   // force nozoom everywhere     return $atts; 


Allows adding javascript options that the plugin doesn’t support via the shortcode

add_filter('sgmsc_map_options','my_options_function',10,1); function my_options_function($options) {   $options['fullscreenControl'] = 0;   // note use 0 or 1 for boolean
return $options;

Will disable full screen control.
See all options here Google Javascript Map Options(

Was this helpful?