Function Reference: geodir_map_load_script
Summary
Adds the marker cluster script for OpenStreetMap when Google JS Library not loaded.
Package
GeoDirectory
Change Log
Since: 1.6.1
Source File
geodir_map_load_script() is located in geodirectory-functions/map-functions/map_functions.php [Line: 394]
Source Code
function geodir_map_load_script() { if (in_array(geodir_map_name(), array('auto', 'google')) && wp_script_is( 'google-maps-api', 'done')) { $plugin_url = geodir_plugin_url(); ?>