Add option to select Google Map type

This commit is contained in:
Brian Miyaji
2014-05-16 21:53:06 +10:00
parent 4ec64cd5ee
commit 38a4a321ba
3 changed files with 16 additions and 1 deletions

View File

@@ -54,6 +54,19 @@ class SP_Settings_General extends SP_Settings_Page {
'options' => $presets,
),
array(
'title' => __( 'Google Maps', 'sportspress' ),
'id' => 'sportspress_map_type',
'default' => 'ROADMAP',
'type' => 'select',
'options' => array(
'ROADMAP' => __( 'Default', 'sportspress' ),
'SATELLITE' => __( 'Satellite', 'sportspress' ),
'HYBRID' => __( 'Hybrid', 'sportspress' ),
'TERRAIN' => __( 'Terrain', 'sportspress' ),
),
),
array( 'type' => 'sectionend', 'id' => 'general_options' ),
array( 'title' => __( 'Styles and Scripts', 'sportspress' ), 'type' => 'title', 'desc' => '', 'id' => 'script_styling_options' ),