<br><br><div class="gmail_quote">2010/1/23 Luís de Sousa <span dir="ltr"><<a href="mailto:luis.a.de.sousa@gmail.com">luis.a.de.sousa@gmail.com</a>></span><br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Dear all,<br><br>I've been using Geoserver in WinXP for some time, exploring its possibilities with OpenLayers. Geoserver seems to install Apache and a lean version of OpenLayers, which lacks many modules. So far to use these modules I've been copying them into GeoServer's script directory (data_dir/www/openlayers) and including them by hand in the code, like:<br>
<br> <script src="../openlayers/OverviewMap.js"></script><br><br>So now I'd need to install OpenLayers somehow, so that when OpenLayers.js includes a file such as 'OpenLayers/Controls/OverviewMap.js' it finds the proper path. How do I do this? Install it with Apache or can it be deployed to GeoServer?<br>
</blockquote><div><br>It is Jetty not Apache, but that's not an issue. Just copy OpenLayers in to your www directory and the point the script tag to whatever directory name you used <br>e.g.<br> <script src="../openlayers-2.8/OpenLayers.js"></script><br>
<br>Ian<br></div></div>-- <br>Ian Turton<br><br>