Explorar el Código

fixed typo in GetFeature js

Piotr Labudda hace 8 años
padre
commit
610d76b29e
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      SE/static/p5WFS/GetFeature.js

+ 1 - 1
SE/static/p5WFS/GetFeature.js

@@ -119,7 +119,7 @@ function p5WFS_GetFeature(typeName, query) { // @returns Promise
 		} else if ('<wfs:Query>' === query['ogc:Filter'].substr(0, '<wfs:Query>'.length)) {
 			postData = headerOgcFilter + query['ogc:Filter'] + '</GetFeature>'
 		} else {
-			throw 'Error - wrong sytax ogc:Filter'
+			throw 'Error - wrong syntax ogc:Filter'
 		}
 	}
 	if ('sortBy' in query) link += '&sortBy=' + query['sortBy']