From b426dd7dda5f52f59209aa8c78fc5b9f55ab3ba0 Mon Sep 17 00:00:00 2001 From: Brian Miyaji Date: Sat, 30 Jul 2016 02:25:37 +1000 Subject: [PATCH] Add maptype support to venue map --- includes/admin/settings/class-sp-settings-events.php | 2 -- templates/venue-map.php | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/includes/admin/settings/class-sp-settings-events.php b/includes/admin/settings/class-sp-settings-events.php index 0d05ac3f..579d7caa 100644 --- a/includes/admin/settings/class-sp-settings-events.php +++ b/includes/admin/settings/class-sp-settings-events.php @@ -158,8 +158,6 @@ class SP_Settings_Events extends SP_Settings_Page { 'options' => array( 'ROADMAP' => __( 'Default', 'sportspress' ), 'SATELLITE' => __( 'Satellite', 'sportspress' ), - 'HYBRID' => __( 'Hybrid', 'sportspress' ), - 'TERRAIN' => __( 'Terrain', 'sportspress' ), ), ), diff --git a/templates/venue-map.php b/templates/venue-map.php index d768d820..5ffb7181 100644 --- a/templates/venue-map.php +++ b/templates/venue-map.php @@ -28,7 +28,7 @@ if ( $latitude != null && $longitude != null ): width="600" height="320" frameborder="0" style="border:0" - src="https://www.google.com/maps/embed/v1/place?key=AIzaSyAWyt_AG0k_Pgz4LuegtHwesA_OMRnSSAE&q=&center=,&zoom=" allowfullscreen> + src="https://www.google.com/maps/embed/v1/place?key=AIzaSyAWyt_AG0k_Pgz4LuegtHwesA_OMRnSSAE&q=&center=,&zoom=&maptype=" allowfullscreen>