Closed (fixed)
Project:
GMap Module
Version:
5.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
16 May 2007 at 16:00 UTC
Updated:
26 Aug 2007 at 02:49 UTC
Sorry in advance for my imbecility...
I've been playing around with gmap and have successfully installed it on a site I run.
The pins show up on the map in a proper fashion -- but they don't link to anything. I was wondering if I had missed a step.
If anyone has any advice, I'd appreciate it. Here's my map page:
Comments
Comment #1
leoklein commentedWhat in fact is the default function of pins? Can anyone point to an explanation?
Comment #2
alefteris commentedI'm having exactly the same issue. I have tried the gmap module some time ago (with drupal v5 again) and it was working fine. But with the latest version linking from users map to users profile doesn't work work. I'm using the latest available version of both gmap and location modules.
The "info window" option doesn't have any effect as well.
It would be really nice if someone could look into this problem.
Comment #3
leoklein commentedAll the documentation I've seen so far, such as it was, seemed to indicate _manual_ addition of links which of course is a non-starter.
I'm sure there must be an explanation of this...
Comment #4
salem@www.drupalitalia.org commentedI have same problem with user map
Comment #5
salem@www.drupalitalia.org commentedI think the problem is on line 79 of gmap_location.module
$mode = $thismap['markermode'];
This is not initialized... so if I change this with:
for info window
$mode = 1;
for link
$mode = 2;
It's works, but it isn't configurable by control panel
It's caused (I think :) ) variable 'Markermode' isn't on $thismap array, but in gmap_default Drupal variable
Comment #6
denney commentedI can confirm this fixes the issue.
Comment #7
leoklein commentedsalem, you're brilliant! But note, it seems like you have to change the line at both 79 and 204.
Once you do that, it works! It's a kludge but it works.
Thanks.
Comment #8
leoklein commentedComment #9
salem@www.drupalitalia.org commentedYes, but I'm interesting only on user location, but method is the same also with node location.
However my code is only temporary; it must be arranged for the change from control panel
Bye bye
Comment #10
salem@www.drupalitalia.org commentedYes, but I'm interesting only on user location, but method is the same also with node location.
However my code is only temporary; it must be arranged for the change from control panel
Ciao ciao
Comment #11
z.stolar commentedI approve #5 works.
Comment #12
bdragon commentedI just committed a fix to DRUPAL-5 that should help with this. There were some places that the defaults weren't being pulled in.
ray007 had already fixed the user map portion of this.
Comment #13
bdragon commentedComment #14
bdragon commentedAssuming fixed.
Comment #15
(not verified) commented