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;icaptura
";
}
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;icaptura
";
}
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