Update Google Maps icon and description

This commit is contained in:
Brian Miyaji
2019-05-01 13:16:46 +10:00
parent ea37ea1bd1
commit 8266ec4cec
11 changed files with 22 additions and 18 deletions

View File

@@ -24,8 +24,8 @@ if ( '' === $address ) $address = '+';
if ( 'satellite' !== $maptype ) $maptype = 'roadmap';
if ( $latitude != null && $longitude != null ){
if ( get_option( 'sportspress_load_googlemaps_module', 'no' ) == 'yes' ) {
do_action ( 'sp_venue_show_googlemaps', $latitude, $longitude, $address, $zoom, $maptype );
if ( get_option( 'sportspress_load_google_maps_module', 'no' ) == 'yes' ) {
do_action ( 'sp_venue_show_google_maps', $latitude, $longitude, $address, $zoom, $maptype );
}else{
do_action ( 'sp_venue_show_openstreetmap', $latitude, $longitude, $address, $zoom, $maptype );
}