Closed (fixed)
Project:
GMap Module
Version:
6.x-1.1-rc1
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
3 Apr 2009 at 15:01 UTC
Updated:
6 Jul 2009 at 07:21 UTC
Hi,
When you select Fields in some other Views module style and the CCK fields are without a value, the labels are not rendered. The GMap style renders the labels anyway though, which is a bit annoying. It seems a small change to theme_gmap() would be required to drop things from $marker['text'] when there is no value, but since I can't figure out how the auto-sizing of the info bubbles occurs, I don't want to mess with it. =(
Comments
Comment #1
exobuzz commentedI also would like to hide the labels for empty fields. Any help would be appreciated.
Comment #2
exobuzz commentedThis worked for me:
http://drupal.org/node/480162#comment-1659788
According to that thread the upcoming cvs version of views also has this feature built in.
Comment #3
greg.harveyThat's brilliant! Thanks for posting. Closing issue. =)