Map facet – default to satellite view

mgibbs189

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

add_filter( ‘facetwp_map_init_args’, function( $settings ) {
$settings[‘init’][‘mapTypeId’] = ‘satellite’;
return $settings;
});
{{/gist}}