I enabled the following option in the settings page:

x Marker action:
No change
Open info window <-- this one
Open link

I went on to build a makro, but choosing the option "Edit Info" instead of "Remove" from the menu "Click marker / segment" didn't help. Clicking the marker had no effect anymore, whereas it removed the marker, while the "Remove" option had been enabled.

Comments

zilla’s picture

strange...i'm going to try to put together a little gmap module /location video tutorial shortly, keep an eye out for it!

hamakabula’s picture

Hi,

I need to know what exactly happens, when I choose the Edit-Info option and when I click a marker, thereafter.
Could you please tell me the name of the function call which should be connected to the marker by selecting the Edit-Info option,
how and where this function is called and the name of the function in which this connection takes place?
And further how it is connected?
With this information I could try to debug and find out what's wrong.
Without understanding at least a bit of these processes I have little hope to discover the Problem.

Thanks for your comments,
hamakabula

zilla’s picture

i set this up in gmap location module - in that configuration screen (*not* in views, i mean the separate admin/gmap location module) there is an option to build a macro, set default behaviors and so on - that's where i selected 'pop up info window' as a behavior for the maps...sounds like you need to change it there...

hamakabula’s picture

Probably I'm still missing something. I created two screenshots where I found the option I thought you mean.

zilla’s picture

yes, those are the ones - not sure what's causing your install to suppress the popup...

zdean’s picture

I'm experiencing the same problem...

davexd’s picture

Title: pop-up info box » Macro: Edit Info pop-up box not working

I'm having the same problem! Any luck?

JohnnyMoney’s picture

Same problem here with drupal 5.x

JohnnyMoney’s picture

So are you saying that for the EDIT INFO to work for markers the Location and Gmap location modules NEED to be enabled?

zdean’s picture

bump

jwashburn’s picture

I to am stuck in this spot. I cannot get any information entered into the markers.

JohnnyMoney’s picture

6.x-1.1-rc1 still having the same problem, edit info window doesn't open when clicking on marker in gmap macro creator...

bdragon’s picture

Yeah, I really need to, uh, implement the edit info window.

Macronomicus’s picture

Having the same problem on 6.x I see that others are getting the popups. Still I get nothing when clicking the marker in my auto created map associated with a node. Everything else seems to be working find but no pop-up info windows. Am I assuming wrong that when clicking them the attributes should be there? I have set [Open info window] for Marker Action. Is there something I should have in my Macro to enable this. Searching around the net hasnt revealed anything just yet. I will post back here if I figure it out.

EDIT:
Just wanted to add that ... if I create a gmap view and block the popups seem to be working. Is there a limitation with the supplied location gmap block that comes with the module? Thats a shame cause the built in block works nice by only displaying on node pages with locative data entered. The block I made with views needs more tweaking to make it do the same. Ughh!

my-family’s picture

I have probably very similar problem. The Infobox is not editable.
In addition, I cannot choose any other possibility, than opening the info box.
In my GMAP settings, I see these possibilities:
Marker action:
Do nothing
Open info window
Open link

... but only "open info window" is working. I would need "do nothing" or "open link", but none of them works, even when I clear cache. (By these settings, again the "open info window" action is provided).
Thanks in advance for any help.
(Gmap module 6.x-1.1-rc1)

Macronomicus’s picture

@my-family

I think the only way to get it done is to create a view and produce a block from it. There will probably need to be some code in your template.php file and/or in the block visibility settings.

IMO the block supplied with this module is rather useless for what we want. It only shows a marker with no other useful functionality, I have removed it and am waiting till I have some time to get my Views block to work proper. I have seen a few bits here and there in the issues though im not sure which is the best route yet. For me the map link will have to do, cause that block really doesn't do much.

my-family’s picture

Sorry, I do not understand it. When I look at the UI, it seems, that Info box should be editable, and that actions "what to do, if the marker is clicked", should be configurable as well. Why does it not work? Is it a bug, or is it my misunderstanding? Thanks a lot for help or explaining.

Macronomicus’s picture

I think the intent is to eventually have that part working but its not yet. We could always take a look @ the block implementation differences between the views block we can make and the block supplied with the module. Then blend the views stuff we want into the page display easiness of the supplied block.

halver’s picture

+1

math_1048’s picture

+1

smw’s picture

+1

cdonner’s picture

I don't see conclusive answers to the following questions:
- Is this a confirmed bug?
- Is there a workaround?
- What exactly is the limitation?

I am also experiencing that in the macro builder the infowindow does not pop up for edits. This issue is the same in IE 8 and FF 3.
There is an Access Denied exception in the watchdog table every time I click on the marker.

access denied node/8/details/2 N Anonymous;
(I am logged in as admin, however)

When I plug such a GMAP macro with empty markers into a node, the markers are clickable and an empty infowindow appears.

It seems to me that it should be possible to edit the markers in the macro manually, and to create the corresponding nodes independently. What type of nodes is this function looking for, and what is the macro syntax for these links?

anselm13’s picture

Took some digging through to figure out the syntax from gmap_parse_macro.inc and I was still a bit too tired to figure it out. But it helped me refine my google searches. So I found the following link which explains how you can edit the macro text to add in labels for your marker that appear in the balloon (this is sufficient for my needs for now): http://www.crestlinesoaring.org/forum/20060528/67

Update:
This comment had some additional useful information:
http://drupal.org/node/347001#comment-1619808

attheshow’s picture

Version: 6.x-1.0-rc2 » 6.x-1.1-rc1
Component: Miscellaneous » User interface
Category: support » bug

It looks like the "Edit Info" dropdown was added in the 6.x-1.0 release, but the javascript that goes along with it that would presumably allow you to edit the marker info was never actually written. You can see evidence of this if you look at the included gmap/js/overlay_edit.js lines 239-241 in 6.x-1.1-rc1. Here's the code that's currently in the file:

                  case 'Edit info':
                    // @@@
                    break;
attheshow’s picture

I realize this basically goes against the point of the macro page, but in case anyone else wants a workaround, you can manually add the marker description to the code produced by the macro. Here's an example:

Code produced by macro page:

[gmap markers=small red::36.538286327829624,-87.35405445098877 + 36.53152780971472,-87.35482692718506 |zoom=15 |center=36.53450197527946,-87.35409736633301 |width=590px |height=300px |control=Small |type=Map]

Code with additional marker descriptions added manually:

[gmap markers=small red::36.538286327829624,-87.35405445098877:Back of <a href="http://www.apsu.edu">APSU campus</a> + 36.53152780971472,-87.35482692718506:Front of <a href="http://www.apsu.edu">APSU campus</a><br />Near the entrance |zoom=15 |center=36.53450197527946,-87.35409736633301 |width=590px |height=300px |control=Small |type=Map]

bdragon’s picture

Yup, is currently unimplemented, mainly because I can't figure out the best place to actually prompt the user. In a bubble? In the form right below the map?

attheshow’s picture

I think we'd be willing to accept whatever method you think is best at the moment. :) I wish I knew how to write it myself.

MKnechtel’s picture

Subcribing

renenee’s picture

subscribing

Anitha Rajesh’s picture

Is there been any solution found on this Edit info Issue.

Also can any one help me on how to tie this macro content to a node. I need to save this map in a node.

tom.camp’s picture

Since your post is 7 months old, I hope that you have resolved this, but if someone else is having this problem, go to Site configuration -> Input formats and add the GMap macro expander to the Filters and choose the roles that can access this filter. Once you enable that you can choose it from the Input format for your post (like you do for Filter/Full HTML).