Ian province abbreviation patch - issue 724
[civicrm-core.git] / settings / Map.setting.php
1 <?php
2 /*
3 +--------------------------------------------------------------------+
4 | CiviCRM version 4.7 |
5 +--------------------------------------------------------------------+
6 | Copyright CiviCRM LLC (c) 2004-2015 |
7 +--------------------------------------------------------------------+
8 | This file is a part of CiviCRM. |
9 | |
10 | CiviCRM is free software; you can copy, modify, and distribute it |
11 | under the terms of the GNU Affero General Public License |
12 | Version 3, 19 November 2007 and the CiviCRM Licensing Exception. |
13 | |
14 | CiviCRM is distributed in the hope that it will be useful, but |
15 | WITHOUT ANY WARRANTY; without even the implied warranty of |
16 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. |
17 | See the GNU Affero General Public License for more details. |
18 | |
19 | You should have received a copy of the GNU Affero General Public |
20 | License and the CiviCRM Licensing Exception along |
21 | with this program; if not, contact CiviCRM LLC |
22 | at info[AT]civicrm[DOT]org. If you have questions about the |
23 | GNU Affero General Public License or the licensing of CiviCRM, |
24 | see the CiviCRM license FAQ at http://civicrm.org/licensing |
25 +--------------------------------------------------------------------+
26 */
27
28 /**
29 *
30 * @package CRM
31 * @copyright CiviCRM LLC (c) 2004-2015
32 * $Id$
33 *
34 * Settings metadata file
35 */
36 return array(
37 'geoAPIKey' => array(
38 'add' => '4.7',
39 'prefetch' => 1,
40 'config_only' => 1,
41 'help_text' => NULL,
42 'is_domain' => 1,
43 'is_contact' => 0,
44 'group_name' => 'Map Preferences',
45 'group' => 'map',
46 'name' => 'geoAPIKey',
47 'type' => 'String',
48 'quick_form_type' => 'Element',
49 'html_type' => 'text',
50 'html_attributes' => array(
51 'size' => '32',
52 'maxlength' => '64',
53 ),
54 'default' => NULL,
55 'title' => 'Geo Provider Key',
56 'description' => 'Enter the API key or Application ID associated with your geocoding provider (not required for Yahoo).',
57 ),
58 'geoProvider' => array(
59 'add' => '4.7',
60 'prefetch' => 1,
61 'config_only' => 1,
62 'help_text' => NULL,
63 'is_domain' => 1,
64 'is_contact' => 0,
65 'group_name' => 'Map Preferences',
66 'group' => 'map',
67 'name' => 'geoProvider',
68 'type' => 'String',
69 'quick_form_type' => 'Element',
70 'html_type' => 'Select',
71 'pseudoconstant' => array(
72 'callback' => 'CRM_Core_SelectValues::geoProvider',
73 ),
74 'default' => NULL,
75 'title' => 'Geocoding Provider',
76 'description' => 'You may choose a different webservice for geocoding. This is required if there is no geo-coding plugin for your selected mapping provider. You can leave the Geocoding fields blank if you are using Google as your mapping provider.',
77 ),
78 'mapAPIKey' => array(
79 'add' => '4.7',
80 'prefetch' => 1,
81 'config_only' => 1,
82 'help_text' => NULL,
83 'is_domain' => 1,
84 'is_contact' => 0,
85 'group_name' => 'Map Preferences',
86 'group' => 'map',
87 'name' => 'mapAPIKey',
88 'type' => 'String',
89 'quick_form_type' => 'Element',
90 'html_type' => 'text',
91 'html_attributes' => array(
92 'size' => '32',
93 'maxlength' => '64',
94 ),
95 'default' => NULL,
96 'title' => 'Map Provider Key',
97 'description' => 'Enter your API Key or Application ID. An API Key is currently optional for Google Maps API, but may be helpful diagnosing any problems and required for higher volumes of requests. Refer to developers.google.com for the latest information.',
98 ),
99 'mapProvider' => array(
100 'add' => '4.7',
101 'prefetch' => 1,
102 'config_only' => 1,
103 'help_text' => NULL,
104 'is_domain' => 1,
105 'is_contact' => 0,
106 'group_name' => 'Map Preferences',
107 'group' => 'map',
108 'name' => 'mapProvider',
109 'type' => 'String',
110 'quick_form_type' => 'Element',
111 'html_type' => 'Select ',
112 'pseudoconstant' => array(
113 'callback' => 'CRM_Core_SelectValues::mapProvider',
114 ),
115 'default' => NULL,
116 'title' => 'Mapping Provider',
117 'description' => 'Choose the mapping provider that has the best coverage for the majority of your contact addresses.',
118 ),
119 );