Changes between Version 40 and Version 41 of ZooWorkshop/FOSS4GJapan/BuildingWPSClientUsingOL
- Timestamp:
- Oct 23, 2010, 12:21:11 AM (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
ZooWorkshop/FOSS4GJapan/BuildingWPSClientUsingOL
v40 v41 116 116 == Calling the single geometry services from !JavaScript == 117 117 118 Now that everything is setup, we can go on and call our OGR ZOO services with !JavaScript. Please add the following lines after the {{{init()}}} function, which will call the single geometry processes. 118 Now that everything is setup, we can go on and call our OGR ZOO services with !JavaScript. Please add the following lines after the {{{init()}}} function, which will call the single geometry processes. You can notice that we use a specific {{{parseMapServerId}}} function which let us remove the unecessary white space returned as fid value. 119 119 120 120 {{{ 121 121 #!c 122 123 function parseMapServerId(){ 124 var sf=arguments[0].split("."); 125 return sf[0]+"."+sf[1].replace(/ /g,''); 126 } 127 122 128 function simpleProcessing(aProcess) { 123 129 if (select.features.length == 0)