Hello,
I've started using mapstraction_cck today. First of all: thanks to every contributor! Your work is appreciated!
I've run into a problem and don't know whether it's my misconfiguration or a bug: after enabling the module I configured it in the settings panel using Google as the sole provider. I added my Google API key. Then I added a cck field to a new content type. I used the "Mapstraction Map" content type and "Point" as the data type. I gave the new field a label and edit the "display fields" section so that it was set on "Mapstraction CCK Single Map".
Now my problem is when I want to add content, the actual map does not show and firebug shows an uncaught exception "API ID not available". I've located the exception to be thrown in idelabmapstraction.js and it seems that the variable sApiId is not defined. However, I do not know how to change that code to make it work.
I've used Firefox 3.6 and Google Chrome beta both under Ubuntu Linux 10.04.
Has anyone else seen this problem or have I forgotten to configure something? I am grateful to any help!
Comments
Comment #1
plopescCan you test if your problem persist with other providers???
Thanks!
Comment #2
KhaledBlah commentedHi,
I've tested it with all available providers now and none of them would work. I've also clicked the "reset to default buttons" and it wouldn't work then either.
Btw, I forgot to mention that I use the geo alpha4 module but I have not applied the patch that was mentioned on the project page for this module.
Regards,
Comment #3
plopescYou MUST copy and paste this patch. Without this patch you can't select the provider that you will use in your node forms and their settings.
I will close this issue, because I think that this is the cause of your problems. If your problems persist after the copy of the patch, please, reopen this issue.
Thanks!!
Comment #4
KhaledBlah commentedI have tried to apply your patch in sites/all/modules/geo but the patch failed. I have then copied the hook_widget function from the patch file and removed the "+" symbols, added the function to "geo_field.module" and then went back to my CCK field where the map then showed. Now it's also showing in my content type! Thx a lot for your very quick help! I appreciate it a lot!
Comment #5
plopescHi!
I'm glad that everything is already solved.
Thanks for your interest about our module!!