The Gmap Marker Actions are only available as global settings and the bug related to the global settings for marker action has a solution as detailed in the issue http://drupal.org/node/352553

It would be really nice if the Views Gmap style could include specific settings for link or info bubble to override the global gmap setting. This would allow different options to be used for different gmap views.

Thanks.

Comments

cbrody’s picture

Seconding this request -- would be very useful for a View to be able to override the global setting.

Cheers.

froboy’s picture

Adding my interest as well...

rooby’s picture

I recommend looking at the patch in #352553-22: Gmap styled views ignore "Marker action" setting as part of what it was doing was this.

leo pitt’s picture

I also need this option ... Has there been any progress on this?

Thanks

shaneonabike’s picture

I'm also having this issue where you can't set it per view which would be super nice.

Could we just roll the patch that was provided at the start of #352553: Gmap styled views ignore "Marker action" setting? Seems like it might have not gotten added?

webservant316’s picture

subscribe - also need this

Seem to me that overrides are needed to the CCK definition, the View, and the node. In my use case I want the View map to have a marker action of pop-up, but on the node I want it to do nothing.

As a quick fix does anyone know of some CSS that I can use to turn off the pop-up marker action on the node? That would solve my immediate pressing need. I can leave the default marker action as pop-up and then just override it with CSS in the node view to turn it off.

Help!

webservant316’s picture

Priority: Normal » Major

I've really been fighting with ways to get this to work because of the importance of being able to set different marker actions on different maps on my website. I am elevating the priority on this issue because it seems to be an important function.

The importance is also compounded by the fact that I cannot turn off the marker action on smaller maps on the node display and the pop-up doesn't display properly in this case. Instead the pop-up is only displayed in part because of a 'overflow: hidden' on a containing div. (I would be glad for a CSS or any hack to be able to simply turn off the marker action to do nothing instead).

However, the best course of action would be to design marker action defaults and overrides holistically though the entire module. Does the maintainer have time to look at this in a bigger way?

1. Ok so we have marker action defaults set at 'admin/settings/gmap'. This is fair enough, but the defaults are not respected when a CCK map field is displayed on node. The defaults need to be respected on the node CCK fields, in Views, and at map/user & map/node.

2. Now it would be great to then be able to override the marker action at the CCK definition and also on the View. One method would be to add radio buttons at those locations. However, it would be much easier to simply use the existing gmap macro variable 'markermode=[0,1,2]' that is mentioned in the issue queue and clearly document it and also get it to work on the View gmap macro and the CCK field gmap macro. On the View macro I can get it to have no action, but when set to 'pop-up' the 'pop-up' doesn't pop up. The node display marker action is totally unresponsive to any settings, whether the defaults or an attempt to put the 'markermode' variable in the CCK gmap macro definition, but on the node the marker only ever offers a 'pop-up'.

In my case the logic might be complicated because I am also using taxonomy assigned markers.

Any help getting this function to work would be greatly appreciated. What useful help can I offer as a user of the module to help the maintainer?

webservant316’s picture

All my question above have been solved by this hack - http://drupal.org/node/1139088#comment-5956720.