Active
Project:
GMap Module
Version:
6.x-1.1-rc1
Component:
User interface
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
29 Nov 2008 at 12:24 UTC
Updated:
20 Jan 2012 at 19:12 UTC
Jump to comment: Most recent file
Comments
Comment #1
zilla commentedstrange...i'm going to try to put together a little gmap module /location video tutorial shortly, keep an eye out for it!
Comment #2
hamakabula commentedHi,
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
Comment #3
zilla commentedi 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...
Comment #4
hamakabula commentedProbably I'm still missing something. I created two screenshots where I found the option I thought you mean.
Comment #5
zilla commentedyes, those are the ones - not sure what's causing your install to suppress the popup...
Comment #6
zdean commentedI'm experiencing the same problem...
Comment #7
davexd commentedI'm having the same problem! Any luck?
Comment #8
JohnnyMoney commentedSame problem here with drupal 5.x
Comment #9
JohnnyMoney commentedSo are you saying that for the EDIT INFO to work for markers the Location and Gmap location modules NEED to be enabled?
Comment #10
zdean commentedbump
Comment #11
jwashburn commentedI to am stuck in this spot. I cannot get any information entered into the markers.
Comment #12
JohnnyMoney commented6.x-1.1-rc1 still having the same problem, edit info window doesn't open when clicking on marker in gmap macro creator...
Comment #13
bdragon commentedYeah, I really need to, uh, implement the edit info window.
Comment #14
Macronomicus commentedHaving 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!
Comment #15
my-family commentedI 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)
Comment #16
Macronomicus commented@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.
Comment #17
my-family commentedSorry, 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.
Comment #18
Macronomicus commentedI 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.
Comment #19
halver commented+1
Comment #20
math_1048 commented+1
Comment #21
smw commented+1
Comment #22
cdonner commentedI 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?
Comment #23
anselm13 commentedTook 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
Comment #24
attheshow commentedIt 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:
Comment #25
attheshow commentedI 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]Comment #26
bdragon commentedYup, 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?
Comment #27
attheshow commentedI 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.
Comment #28
MKnechtel commentedSubcribing
Comment #29
renenee commentedsubscribing
Comment #30
Anitha Rajesh commentedIs 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.
Comment #31
tom.camp commentedSince 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).