Show terrain map by default

mgibbs189

{{gist file=”functions.php” lang=”php”}}
<?php

// add this to your child themes functions.php file
add_filter( ‘facetwp_map_init_args’, function ( $args ) {
$args[‘mapTypeId’] = ‘terrain’;
return $args;
} );

{{/gist}}