Hi,
I do not know what I have changed that it does not work anymore but when I go to the modules setting page I do not see the map anymore just a grey area. So I can not choose a default center. When I enter longitude and latitude manually into the input field it results in a value like
52.46637322315039,NaN
just when I click out of the input field. The firefox gives me the following error:
Error: too much recursion
source: http://maps.gstatic.com/intl/de_ALL/mapfiles/api-3/11/17/main.js
Line: 25
Does somebody know what leads to this issue?
Best,
Tobias
Comments
Comment #1
tobiberlinAfter deinstalling and re-installing it worked fine again
Comment #2
codeparity commentedIt is still there.
I am trying to embed gmap field in Field collection. The field works fine when directly used in a node but when used inside a field collection all i get to see i a grayed box.
Comment #3
zzhenekk commentedI have same issue.
I found simple solution. JS added 'NaN' parameter to default location when you clicked out of this field. So I just turn off js, add correct parameters and save settings. Then turned on scripts. Settings were saved correctly and map was showed. It is more easy then re-install module.
Comment #4
demoshane commentedDoesn't work for us on nodes. Reinstall is out of the question on site that has hundreds of thousands nodes. Writing only 0 to center field in settings generates 0,NaN which again nodes understand to regenerate. But NaN. NaN leads to Unexpected error -page.
Comment #5
maenjuelSame problem here, zzhenekk's solution worked for me (thanks!). Now the problem's gone and I can change the default center normally.
edit: had the issue with gmap module version 7.x-2.8
Comment #6
willbxl commentedI have the same problem. I would like to test the solution of zzhenekk but... How to turn off js? ^^'
Comment #7
Drupal Musician commentedI had this issue after deleting the default coordinates. I was forced to delete them as a solution to another problem which caused any saved node to be assigned the default location. I don't know what caused that issue but deleting the coordinates in the default center fixed it. The next location I tried to add resulted in this grey box issue. I did not have an API key assigned (since it says it's not needed) I thought that may be an issue so I created an API Key and assigned it which did not fix the issue. I also tried updating to 2.9 alpha 1 which confounded the matter more by not displaying anything where the map would be, on nodes, blocks and in the admin section.
Comment #8
bradspry commentedYep, turning off javascript worked.
Here's a one-click javascript off extension for Chrome:
https://chrome.google.com/webstore/detail/jsoff/kjhbibcocglfnpllfodaiaba...
Other browsers have other ways, Firefox has Firebug.
Comment #9
willbxl commented#3 solution worked perfectly!
@bradspry: Thank you very much for the extension, I was looking how to turn it off on drupal :D.
Comment #10
spiritcapsule commented#3 helped - thanks
but I still have the default locations assigned issue described in #7
Comment #11
melowise commentedballer zzhenekk, thanks