diff --git a/documentacao/Thumbs.db b/documentacao/Thumbs.db new file mode 100644 index 0000000..de2ac24 Binary files /dev/null and b/documentacao/Thumbs.db differ diff --git a/mashups/openlayers.js.php b/mashups/openlayers.js.php index ea713c6..010275c 100644 --- a/mashups/openlayers.js.php +++ b/mashups/openlayers.js.php @@ -773,10 +773,26 @@ i3GEO.editorOL = { lonlattexto += "
captura
"; } formata = function(texto){ - var textoN = texto.split(":"); - if(textoN.length > 0){ - textoN[0] = ""; - texto = textoN.join(""); + var temp, + temp1, + n, + i, + f = [], + f1 = [], + textoN = texto.split(":"); + if(textoN.length > 1){ + temp = textoN[2].replace(/\n\r/g, ""); + temp = temp.replace(/'/g, ""); + temp = temp.replace(/\n/g, "|"); + temp = temp.split("|"); + n = temp.length; + for(i=0;i
"); } return texto; }; diff --git a/mashups/openlayers_compacto.js b/mashups/openlayers_compacto.js index 00ed5a4..2ec27e8 100644 --- a/mashups/openlayers_compacto.js +++ b/mashups/openlayers_compacto.js @@ -3779,10 +3779,26 @@ if( botoes.linha === true || botoes.ponto === true || botoes.poligono === true | lonlattexto += "
captura
"; } formata = function(texto){ -var textoN = texto.split(":"); -if(textoN.length > 0){ -textoN[0] = ""; -texto = textoN.join(""); +var temp, +temp1, +n, +i, +f = [], +f1 = [], +textoN = texto.split(":"); +if(textoN.length > 1){ +temp = textoN[2].replace(/\n\r/g, ""); +temp = temp.replace(/'/g, ""); +temp = temp.replace(/\n/g, "|"); +temp = temp.split("|"); +n = temp.length; +for(i=0;i
"); } return texto; }; diff --git a/mashups/openlayers_compacto.js.php b/mashups/openlayers_compacto.js.php index 66e4492..3125fff 100644 --- a/mashups/openlayers_compacto.js.php +++ b/mashups/openlayers_compacto.js.php @@ -3779,10 +3779,26 @@ if( botoes.linha === true || botoes.ponto === true || botoes.poligono === true | lonlattexto += "
captura
"; } formata = function(texto){ -var textoN = texto.split(":"); -if(textoN.length > 0){ -textoN[0] = ""; -texto = textoN.join(""); +var temp, +temp1, +n, +i, +f = [], +f1 = [], +textoN = texto.split(":"); +if(textoN.length > 1){ +temp = textoN[2].replace(/\n\r/g, ""); +temp = temp.replace(/'/g, ""); +temp = temp.replace(/\n/g, "|"); +temp = temp.split("|"); +n = temp.length; +for(i=0;i
"); } return texto; }; -- libgit2 0.21.2