Function Reference: geodir_map_load_style

Summary

Adds the marker cluster style for OpenStreetMap when Google JS Library not loaded.

Package

GeoDirectory

Change Log

Since: 1.6.1

Source File

geodir_map_load_style() is located in geodirectory-functions/map-functions/map_functions.php [Line: 364]

Source Code

function geodir_map_load_style() {    
    if (in_array(geodir_map_name(), array('auto', 'google')) && wp_script_is( 'geodirectory-googlemap-script', 'done')) {
?>