[Xsltforms-support] Javascript problem
Brought to you by:
alain-couthures
|
From: Mark S. <m_s...@ma...> - 2015-06-29 12:56:34
|
Hi, I don’t know if anyone can help me, but I have a problem with Firefox and XSLTForms: I am using XSLTForms with the OpenLayers 3 mapping library. The Javascript function that initialises the map runs fine and the map loads. However, interaction-triggered Javascript intended to change the visual state of the map has no visible effect. The code runs, properties are set, but changes never become visible in the map. So, I change the opacity of a layer, I read the new value of the property, but the opacity doesn’t actually change. I have set up a very simple page that simply includes the XSLTForms stylesheet and sets one map property using an onclick event. If I remove the XSLTForms stylesheet reference the map property change is reflected in the visual appearance of the map. When the XSLTForms stylesheet runs, the appearance of the map doesn’t change, though the code seems to run. Any ideas or suggestions gratefully received. Thanks Mark |