Sorry,<br>vista l'ora era avanzato un errore nella parte iniziale del codice.<br><br>(function() {<br> /**<br> * Before creating the mapfish namespace, check to see if<br> * mapfish.singleFile is true. This occurs if the<br>
* SingleFile.js script is included before this one - as is the<br> * case with single file builds.<br> */<br> var singleFile = (typeof window.mapfish == "object" && window.mapfish.singleFile);<br>
<br> /* Relative path of this script */<br> var scriptName = "MapFish.js"<br><br> var jsFiles = window.mapfish;<br><br> /**<br> * Namespace: mapfish<br> * The mapfish object provides a namespace for all things <br>
*/<br> window.mapfish = {<br><br> /**<br> * Function: _getScriptLocation<br> * Return the path to this script.<br> *<br> * Returns:<br> * Path to this script<br> */<br>
_getScriptLocation: (function() {<br><br> var r = new RegExp("(^|(.*?\\/))(" + scriptName + ")(\\?|$)"),<br> s = document.getElementsByTagName('script'),<br> src, m, l = "";<br>
<br>...<br><br>Saluti,<br>Marica<br>