2010/1/23 Luís de Sousa <[email protected]>

> Dear all,
>
> 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:
>
>     <script src="../openlayers/OverviewMap.js"></script>
>
> 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?
>

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
e.g.
 <script src="../openlayers-2.8/OpenLayers.js"></script>

Ian
-- 
Ian Turton
_______________________________________________
Users mailing list
[email protected]
http://openlayers.org/mailman/listinfo/users

Reply via email to