Mercurial > hg > events2kml
diff WebContent/mmpa/mmpa.js @ 4:6d286ce1a64f default
inline refresh
author | dwinter |
---|---|
date | Thu, 10 Jan 2013 17:38:13 +0100 |
parents | f198c86dd1f6 |
children | a7c8d212f5f4 |
line wrap: on
line diff
--- a/WebContent/mmpa/mmpa.js Wed Jan 09 14:37:39 2013 +0100 +++ b/WebContent/mmpa/mmpa.js Thu Jan 10 17:38:13 2013 +0100 @@ -46,4 +46,16 @@ $("#restrictionChoiceSpecies").load("/m/restricted?path="+kml1+"&newRestriction=http%3A%2F%2Flocalhost%2Fm%2Fxpath%2F%2F%2Fspecies%2Ftext%28%29&select=%20distinct%20cast%28xpath%28%27//species/text%28%29%27,%20data%29%20as%20text[]%29%20AS%20name"); -}); \ No newline at end of file +}); + + +function callKML(kml,title){ + this.loadKml(kml,title); + //this.STICore.retrieveKML(1,kml); +}; + +function callKMLs(kml1,kml2){ + this.loadKml(kml1,"applicants"); + this.loadKml(kml2,"research"); + +};