Function Reference: geodir_custom_gmaps_listing_map_options
Summary
This function has not been documented yet.
Source File
geodir_custom_gmaps_listing_map_options() is located in geodir_custom_google_maps/geodir_custom_gmaps_functions.php [Line: 358]
Source Code
function geodir_custom_gmaps_listing_map_options($map_options) { $style_option = get_option('geodir_custom_gmaps_style_listing'); if (!empty($style_option) && (is_array($style_option) || is_object($style_option))) { $map_options['mapStyles'] = json_encode($style_option); } return $map_options; }