Hi! I'm trying to make a panel with the tools, but does not work. /var panel = new OpenLayers.Control.Panel({// // createControlMarkup: function(control) {// // var button = document.createElement('button'),// // iconSpan = document.createElement('span'),// // textSpan = document.createElement('span');// // iconSpan.innerHTML = ' ';// // button.appendChild(iconSpan);// // if (control.text) {// // textSpan.innerHTML = control.text;// // }// // button.appendChild(textSpan);// // return button;// // }// // }// //);// // //var editCable = new OpenLayers.Control.ModifyFeature(lineLayer, {// // title: "Edit Cable",// // text: 'Edit<br>Cable',// // vertexRenderIntent: 'temporary',// // displayClass: "olControlMoveClosure",// // modified: true,// // createVertices: true,// // mode: OpenLayers.Control.ModifyFeature.RESHAPE// //});// // //panel.addControls([editCable]);// //map.addControl(panel);// //popupCableCon.activate();/
This error occurs when i declare editCable, but do not swear on this line, swear on line 1591 file OpenLayers.js. What's the problem?
Thanks! Image with error: http://f4.s.qip.ru/qGVcUy1m.png
_______________________________________________ Users mailing list us...@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/openlayers-users