I've created a form (using FormEntity) that contains a Map to record user input location (see example). Everything works (almost) fine except that I've got a weird JS error when I want to draw a polygon or a point on the map. The error is : TypeError: c.N(...) is undefined.
I've tried to use the ol-debug.js library to have more details about the error, but when I do that I don't have the possibility to draw anymore.
Another strange thing is, this map works perfectly fine during the configuration step of the CCK field and in the Form Preview. I can draw on the map and I don't have any error.
This error happens only on the form submit page.
Do you have any idea what is wrong ?
Thanks for your help
Comments
Comment #1
formatC'vt commentedhm. do you try this with 3.3.0 version?
Comment #2
arno974 commentedHi,
I've tried with both the dev and the beta version and the error is the same.
I really don't understand why it works on the form preview but not on the main page...
Arnaud
Comment #3
m.stentaI was having a similar issue myself, but I think it's fixed now. Please try the new 7.x-3.0 version of the Openlayers module and see if it works.