Topic: openlayer problem
Good day, i have noticed in a page using Report/Distribution Map1, the layer from GeoServer is not working, even if i see the image layer on firebug... I get this error in console:
Uncaught TypeError: OpenLayers.Protocol.Script is not a constructor
at initialize.activate (jquery.indiciaMapPanel.js?oqi4mi:1065)
at HTMLDivElement.<anonymous> (jquery.indiciaMapPanel.js?oqi4mi:2321)
at Function.each (jquery.min.js?v=1.10.2:4)
at $.fn.init.each (jquery.min.js?v=1.10.2:4)
at $.fn.init.$.fn.indiciaMapPanel (jquery.indiciaMapPanel.js?oqi4mi:1687)
at 52:114
at Function.<anonymous> (52:123)
at Function.each (jquery.min.js?v=1.10.2:4)
at window.onload (52:122)
and the "bad" line is this:
this.protocol = new OpenLayers.Protocol.Script({
url: wmsUrl,
callback: this.onResponse,
scope: this
});
I tried to change that line from "new OpenLayers.Protocol.Script" to "new OpenLayers.Protocol", i don't get error but i continue not to see the layer... The problem is suppose is after the update to indicia iform 1.1.0. Any idea to resolve the problem with this module page? Thanks
QuestIT s.r.l.
Home page: www.quest-it.com
E-Mail: politi@quest-it.com - Skype: carlo.politi.questit