diff --git a/templates/venue-map.php b/templates/venue-map.php index 8589ad37..31c698ab 100644 --- a/templates/venue-map.php +++ b/templates/venue-map.php @@ -19,6 +19,8 @@ $longitude = sp_array_value( $meta, 'sp_longitude', null ); $zoom = get_option( 'sportspress_map_zoom', 15 ); $maptype = get_option( 'sportspress_map_type', 'roadmap' ); $maptype = strtolower( $maptype ); + +if ( '' === $address ) $address = '+'; if ( 'satellite' !== $maptype ) $maptype = 'roadmap'; if ( $latitude != null && $longitude != null ):