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:

http://libsite.org/map/node

Comments

leoklein’s picture

What in fact is the default function of pins? Can anyone point to an explanation?

alefteris’s picture

I'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.

leoklein’s picture

All 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...

salem@www.drupalitalia.org’s picture

I have same problem with user map

salem@www.drupalitalia.org’s picture

I 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

denney’s picture

I can confirm this fixes the issue.

leoklein’s picture

salem, 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.

leoklein’s picture

Category: support » bug
salem@www.drupalitalia.org’s picture

Yes, 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

salem@www.drupalitalia.org’s picture

Yes, 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

z.stolar’s picture

Title: Pins Show Up But Don't Link to Nodes » Gmap markers (Pins) are not clickable (not linking to nodes or users)

I approve #5 works.

bdragon’s picture

I 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.

bdragon’s picture

Status: Active » Postponed (maintainer needs more info)
bdragon’s picture

Status: Postponed (maintainer needs more info) » Fixed

Assuming fixed.

Anonymous’s picture

Status: Fixed » Closed (fixed)