Hi,

When enabled, the fbconnect module conflicts with the gmap module and causes javascript markers not to appear on the google maps.

Comments

bcobin’s picture

Thank you so much for posting this. Lost most of the day on this... you have done us all a service.

SeanBannister’s picture

I have the same problem but I don't have fbconnect installed so there must be other modules causing this, I'll test it out later.

PGiro’s picture

I've been fighting with the gmap module for a week because of missing markers too but I have differing results from you two.

I have them displaying on /map/node whether or not fbconnect is on.
But never on individual nodes whether or not fbconnect is active.

Check out http://drupal.org/node/358589#comment-1222859

thelocaltourist’s picture

My issue is the same as the original - when FBConnect is enabled, no gmap markers appear. It also conflicts with fivestar. Instead of the star images it just shows the dropdown menu.

PGiro’s picture

@thelocaltourist : that looks like a javascript error which gets triggered by FBConnect before the GMap javascript. Have you checked if IE displays a warning in the lower left or FF/Chrome display an error in their javascript consoles ?

bcobin’s picture

There are two errors - both on line 130 of gmap/js/icon.js as follows:

pairs[i].split is not a function
expandIconDef()(Array$add(item), "/small/", [Object f=shadow.png w=22 h=20, Object f=red.png w=12 h=20, Object f=bred.png w=12 h=20, 21 more... 0=Object 1=Object 2=Object 3=Object 4=Object 5=Object])icon.js?R (line 130)
iconSetup()()icon.js?R (line 92)
(?)()()icon.js?R (line 185)
change()("init", -1, undefined)gmap.js?R (line 111)
initcallback()()gmap.js?R (line 46)
[Break on this error] if (!c[0][i]) {
icon.js?R (line 130)

and,

c[0] is undefined
[Break on this error] if (!c[0][i]) {

Really don't know if this is an FB Connect or a GMap issue - any ideas? Thanks!

bcobin’s picture

Upgrading to latest dev version (as of 2/6/09) seems to have resolved the conflict.

ruski’s picture

The dev version mentioned by bcobin (7) does not fix the issue for me. :_0

http://wuchuchuan.com/classes

bcobin’s picture

Just got it working on pre-deployed site - make sure you have the script call in the head of your page.tpl.php template:

<html xmlns="http://www.w3.org/1999/xhtml" xmlns:fb="http://www.facebook.com/2008/fbml">

Then, make sure permissions on "files," "files/js" and "files/js/gmap_markers.js" are set to 777 - that's working for me - so far, anyway.

Good luck!

ruski’s picture

Status: Active » Fixed

Dev version (21st Feb) now fixes the issue for me!

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.