Answers.Body: <ol>
  <li><p>When you select Google as the map provider, I assume the Map Contact shows up.</p></li>
  <li><p>Ensure that When you select GoogleCityOnly, you also retain the Google Map API Key. The code checks for the presence of both a mapping provider and a mapAPIKey before displaying the Map Contact link</p></li>
  <li><p>If you want to "modify" the code to avoid the Map API key for now, check: CRM/Contact/Selector.php and search for mapAPIKey</p></li>
  </ol>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-05-22T17:52:55.707Z
Answers.Text: Thanks Donald. When I choose Google as map provider, Map Contact does show up. I'm not understanding why the Google Map API Key should make a difference, since it is an empty field. I'm not using it. But I did try deleting the check for the mapAPIKey in Selector.php. That didn't work. I even tried forcing the code to add the item - but it still doesn't show up.
  
      //if ($config->mapProvider) {
          self::$_links[CRM_Core_Action::MAP] = array(
          <deleted code>
            'title' => ts('Map Contact'),
         );
        //}
Answers.UserDisplayName: Harold Shinsato
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-05-22T18:05:00.077Z
Answers.Text: The mini-Markdown didn't work - but the last bit was showing where I commented out "if ($config->mapProvider) {", after deleting "$config->mapAPIKey &&"/
Answers.UserDisplayName: Harold Shinsato
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-05-22T18:34:11.383Z
Answers.Text: Ok - one last comment - I think I need guidance about how to copy the Google.tpl file. I'm pretty sure my edit was good, but I tried removing my edits to change the output, and just have GoogleCityOnly.tpl have the exact same content as Google.tpl. I can select "GoogleCityOnly" in System Settings. But "Map Contact" does not appear in the batch choices.
Answers.UserDisplayName: Harold Shinsato
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-05-21T15:30:18.113Z
Answers.LastActivityDate: 2015-05-21T15:30:18.113Z
Answers.UserDisplayName: Donald Lobo
Body: <p>I'm trying to remove the street address right now from the Google Map that's created from Search Contact -> Map Contacts when you click on the people icons placed on the map. This is for privacy purposes, but I'm interested in adding some custom contact info there later.</p>
  
  <p>I researched and found the Mapping Providers are at templates/CRM/Contact/Form/Task/Map. When I copied Google.tpl, renamed to GoogleCityOnly.tpl, and edited - it shows up as a selection in the Mapping and Geocoding system menu for Mapping Providers. But when I choose it and search contacts, the "Map Contact" no longer shows up.</p>
  
  <p>What am I missing to have "Map Contact" show up again? Where's the guidance for making an alternate Mapping Provider?</p>
  
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2015-05-19T20:54:13.220Z
Comments.Text: Which CMS are you using?
Comments.UserDisplayName: Coleman
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2015-05-26T01:05:50.590Z
Comments.Text: I'm using Drupal 6.35
Comments.UserDisplayName: Harold Shinsato
Tags: <contacts>
Title: How to customize Contact Map popup on clicking on icons?
ThreadText: # How to customize Contact Map popup on clicking on icons?
  
  (Asked by: username_0 on 2015-05-19)
  
  I'm trying to remove the street address right now from the Google Map that's created from Search Contact -> Map Contacts when you click on the people icons placed on the map. This is for privacy purposes, but I'm interested in adding some custom contact info there later.
  
  I researched and found the Mapping Providers are at templates/CRM/Contact/Form/Task/Map. When I copied Google.tpl, renamed to GoogleCityOnly.tpl, and edited - it shows up as a selection in the Mapping and Geocoding system menu for Mapping Providers. But when I choose it and search contacts, the "Map Contact" no longer shows up.
  
  What am I missing to have "Map Contact" show up again? Where's the guidance for making an alternate Mapping Provider?
  
  **Tags:** contacts
  
  > **Comments:**
  > **username_1**: Which CMS are you using?  
  > **username_0**: I'm using Drupal 6.35  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_2 on 2015-05-21. Score: 1
  
  1. When you select Google as the map provider, I assume the Map Contact shows up.
  2. Ensure that When you select GoogleCityOnly, you also retain the Google Map API Key. The code checks for the presence of both a mapping provider and a mapAPIKey before displaying the Map Contact link
  3. If you want to "modify" the code to avoid the Map API key for now, check: CRM/Contact/Selector.php and search for mapAPIKey
  
  > **Comments:**
  > **username_0**: Thanks username_2. When I choose Google as map provider, Map Contact does show up. I'm not understanding why the Google Map API Key should make a difference, since it is an empty field. I'm not using it. But I did try deleting the check for the mapAPIKey in Selector.php. That didn't work. I even tried forcing the code to add the item - but it still doesn't show up.      //if ($config->mapProvider) {         self::$_links[CRM_Core_Action::MAP] = array(         <deleted code>           'title' => ts('Map Contact'),        );       //}  
  > **username_0**: The mini-Markdown didn't work - but the last bit was showing where I commented out "if ($config->mapProvider) {", after deleting "$config->mapAPIKey &&"/  
  > **username_0**: Ok - one last comment - I think I need guidance about how to copy the Google.tpl file. I'm pretty sure my edit was good, but I tried removing my edits to change the output, and just have GoogleCityOnly.tpl have the exact same content as Google.tpl. I can select "GoogleCityOnly" in System Settings. But "Map Contact" does not appear in the batch choices.  
  
  ---
  
  