Duplicate map detected! GMap does not support...

jupiterchild - August 1, 2009 - 10:45
Project:Trackfield
Version:6.x-1.x-dev
Component:Miscellaneous
Category:support request
Priority:normal
Assigned:raintonr
Status:duplicate
Description

"Warning: Duplicate map detected! GMap does not support multiplexing maps onto one MapID! GMap MapID: trackfield_map_6504"

This warning started to occur I think after a recent Gmap update. This occurs in nodes where I display both a 'Trackfield' map and a 'GMAP Field' map (http://drupal.org/project/gmapfield) on the same page.

Despite the warning both maps appear to function OK.

#1

brisath - September 5, 2009 - 02:52

Same error here, but mine seems to be related to nodewords module. see http://drupal.org/node/404424

#2

raintonr - September 14, 2009 - 23:54

Ah... sounds like we need to add a formatter ID or something to separate teaser/preview/etc. display according to this:

http://drupal.org/node/404424#comment-1579854

#3

autoberater - October 6, 2009 - 11:29

Yes I have the same problem, when I turn off nodeword everything works!
Is there any soloution to solve this problem, without turning off nodewords module?

#4

raintonr - October 22, 2009 - 08:05
Assigned to:Anonymous» raintonr

#5

raintonr - October 22, 2009 - 08:29
Status:active» fixed

Should be fixed with this commit: http://drupal.org/cvs?commit=278200

Please wait for dev build to be created and confirm.

#6

autoberater - October 23, 2009 - 12:28

First of all, thanks for the patch.
I tested the dev version and the problem is already there...Only the preview of an track works.
Same error again...

#7

raintonr - October 24, 2009 - 11:20

Re: #6. Can you please describe exactly what you did and how you have your node setup in such a way as to try and show more than one map for the same node?

Could you also please look in your page source at the IDs on the Gmap divs and post what they are.

#8

autoberater - October 26, 2009 - 10:41

I' ve posted you an PN!

#9

raintonr - October 26, 2009 - 20:39
Status:fixed» active

Oh, I see. Well, what can I say, created a small test and saw the error message:

Duplicate map detected! GMap does not support multiplexing maps onto one MapID! GMap MapID: trackfield_map_1066_default

However, when looking at this page note that there was only one instance of that MapID on the page.

How about this - can someone tell me what is supposed to happen here? Does anyone expect to see 2 instances of a map on the page? If you don't expect to see 2 instances can anyone explain why the theme_gmap function (the source of this error) is being called twice for your nodes?

#10

autoberater - October 27, 2009 - 08:44

Thanks for testing!
But why does the preview work?
Is it because of the gmap location modul, that I use for linking the node to an map?

#11

raintonr - November 2, 2009 - 05:30

Sorry, but I have no idea. Could you please answer #9... what exactly are you expecting to happen? Like I said, if you don't expect 2 Gmap instances then this might be a bug elsewhere.

#12

autoberater - November 3, 2009 - 09:39

I have also no idea...For the nodetype I disabled the gmap location Field, so that only the Trackfield was on this node.
But the same error happend.
I have also seen only one instance of the Map ID in both cases!
I think it is only because of nodewords.

#13

raintonr - November 10, 2009 - 06:59
Status:active» duplicate

I'm sorry, am gonna close this as a duplicate of #404424: Duplicate map detected!. It's clearly not limited to trackfield so a GMAP issue.

 
 

Drupal is a registered trademark of Dries Buytaert.