[OpenLayers-Users] Installing OpenLayers in WinXP

Luís de Sousa luis.a.de.sousa at gmail.com
Sat Jan 23 15:44:53 EST 2010


Thank you Ian, that did it.

Luís

2010/1/23 Ian Turton <ijturton at gmail.com>

>
>
> 2010/1/23 Luís de Sousa <luis.a.de.sousa at gmail.com>
>
> 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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/openlayers-users/attachments/20100123/2a834bd2/attachment.html


More information about the Users mailing list