3 +--------------------------------------------------------------------+
5 +--------------------------------------------------------------------+
6 | Copyright CiviCRM LLC (c) 2004-2019 |
7 +--------------------------------------------------------------------+
8 | This file is a part of CiviCRM. |
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. |
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. |
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 +--------------------------------------------------------------------+
31 * @copyright CiviCRM LLC (c) 2004-2019
34 * Settings metadata file
42 'group_name' => 'Map Preferences',
44 'name' => 'geoAPIKey',
46 'quick_form_type' => 'Element',
47 'html_type' => 'text',
48 'html_attributes' => [
53 'title' => 'Geo Provider Key',
54 'description' => 'Enter the API key or Application ID associated with your geocoding provider (not required for Yahoo).',
61 'group_name' => 'Map Preferences',
63 'name' => 'geoProvider',
65 'quick_form_type' => 'Select',
66 'html_type' => 'Select',
67 'html_attributes' => [
68 'class' => 'crm-select2',
71 'callback' => 'CRM_Core_SelectValues::geoProvider',
74 'title' => 'Geocoding Provider',
75 'description' => 'This can be the same or different from the mapping provider selected.',
82 'group_name' => 'Map Preferences',
84 'name' => 'mapAPIKey',
86 'quick_form_type' => 'Element',
87 'html_type' => 'text',
88 'html_attributes' => [
93 'title' => 'Map Provider Key',
94 'description' => 'Enter your API Key or Application ID. An API Key is required for the Google Maps API. Refer to developers.google.com for the latest information.',
101 'group_name' => 'Map Preferences',
103 'name' => 'mapProvider',
105 'quick_form_type' => 'Select',
106 'html_type' => 'Select',
107 'html_attributes' => [
108 'class' => 'crm-select2',
110 'pseudoconstant' => [
111 'callback' => 'CRM_Core_SelectValues::mapProvider',
114 'title' => 'Mapping Provider',
115 'description' => 'Choose the mapping provider that has the best coverage for the majority of your contact addresses.',