Changes between Version 7 and Version 8 of ZooWorkshop/FOSS4GJapan/BuildingWPSClientUsingOL
- Timestamp:
- Oct 16, 2010, 2:25:48 AM (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
ZooWorkshop/FOSS4GJapan/BuildingWPSClientUsingOL
v7 v8 107 107 108 108 [[Image(OL-2.png,width=450px,align=center)]] 109 == Calling the single geometr ie processes fromJavaScript ==109 == Calling the single geometry seervices from !JavaScript == 110 110 111 111 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. … … 145 145 }}} 146 146 147 Then, some specific buttons must be added in the HTML, in order to be able to call the different processes we just declared. You can add them on top of the map by writing the following lines before the <div id="map"></div>.147 Then, some specific buttons must be added in the HTML, in order to be able to call the different processes we just declared. You can add them on top of the map by writing the following lines before the {{{<div id="map"></div>}}}. 148 148 149 149 {{{ … … 169 169 Save your HTML file again. You should now be able to select a polygon and to launch a Buffer, ConvexHull, Boundary or Centroid on it by clicking one of the button. The result of the process should appear as GeoJSON layer on the map, in orange color. 170 170 171 [[Image(OL-3.png,width=450px,align=center)]] 171 172 == Calling the multiples geometries processes from !JavaScript == 172 173