Active
Project:
GMap Module
Version:
6.x-1.x-dev
Component:
User interface
Priority:
Major
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
22 Jun 2010 at 14:46 UTC
Updated:
4 May 2012 at 18:31 UTC
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
Comment #1
cbrody commentedSeconding this request -- would be very useful for a View to be able to override the global setting.
Cheers.
Comment #2
froboyAdding my interest as well...
Comment #3
rooby commentedI recommend looking at the patch in #352553-22: Gmap styled views ignore "Marker action" setting as part of what it was doing was this.
Comment #4
leo pitt commentedI also need this option ... Has there been any progress on this?
Thanks
Comment #5
shaneonabike commentedI'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?
Comment #6
webservant316 commentedsubscribe - 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!
Comment #7
webservant316 commentedI'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?
Comment #8
webservant316 commentedAll my question above have been solved by this hack - http://drupal.org/node/1139088#comment-5956720.