Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Tijmen Smit

    (@tijmensmit)

    You can change the maps parameters with this filter.

    The filter code has to go in the functions.php inside your active theme folder.

    Thread Starter Linkaara

    (@linkaara)

    Thanks! It worked perfectly.

    add_filter( ‘wpsl_gmap_api_params’, ‘custom_gmap_api_params’ );
    function custom_gmap_api_params( $api_params ) {
    $api_params = $api_params .’&libraries=places’;
    return $api_params;
    }

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

The topic ‘Adding a library to the API’ is closed to new replies.