Drupal 7.55
GMap 7.x-2.11
Location 7.x-3.7

The issue is that when you click on a map marker, the popup bubble shows too much information.

Example of information shown:
Cancer Center North
3838 N. Campbell Avenue
85719 Tucson , AZ
United States
32° 16' 36.1344" N, 110° 56' 35.52" W
Arizona US

I only want to show
Cancer Center North
3838 N. Campbell Avenue
85719 Tucson , AZ

I have tried configuring the Location field, using the "allow / require" dropdowns, but it makes no difference.

Suggestions?

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

memcinto created an issue. See original summary.

sneha_chandole’s picture

FileSize
12.99 KB

Hello,

You can do it by selecting the fields to be display from the particular content type.
Edit the content type and you can see the locative information tab under that there is DISPLAY SETTINGS section from that you can choose the field to display.see sceenshot
i hope this solution may help you.

Thanks

memcinto’s picture

Hi sneha_chandole, thanks for your quick response.

I have been changing the display settings and it has no effect on what shows up in the bubble. See attached screen shots.

Thanks.

memcinto’s picture

I have been able to suppress the unwanted info with css:

div.country-name {
display: none;
}

span.geo {
display: none;
}

div.location-hidden {
display: none;
}

Perhaps this is a Location module issue, instead of a GMap issue? It looks like the html for the Info Bubble comes from location.tpl.php. If anyone thinks so I will close this and check with Location. Although you *should* be able to configure what shows in the Bubble from GMap.