You can find a working, though not minimal, openlayers configuration for
your own GeoServer layers by opening the OpenLayers preview from the layer
preview listing.  Then just use your browser's "view source" function to see
the code.

--
David Winslow
OpenGeo - http://opengeo.org/

On Fri, Feb 18, 2011 at 9:50 AM, IT Intern <[email protected]> wrote:

> "http://localhost:8080/geoserver/wms";
>
> IF you do not have your server alias as localhost then use the ip addy 
> something like 10.0.101.12 instead of localhost.
>
> Also http://openlayers.org/dev/examples/ may be of good help to you
>
> Happy Mapping,
>
> elshae
>
>
>
> On Thu, Feb 17, 2011 at 10:47 PM, Carlos Henriquez <[email protected]>wrote:
>
>> Hello i'm trying to use openlayers, i want to use OpenLayers.Layer.WMS to
>> create a new wms layer, i need to know what is the base url for WMS in
>> geoserver 2.0.2 since this is the second parameter to create the layer
>>
>> i attach an example from openlayer page, it looks like this:
>>
>> var wms = new OpenLayers.Layer.WMS("NASA Global 
>> Mosaic","*http://wms.jpl.nasa.gov/wms.cgi*",{layers: "modis,global_mosaic"});
>>
>>
>> i hope someone can help me whit this, bye and ty
>>
>>
>>
>> ------------------------------------------------------------------------------
>> The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
>> Pinpoint memory and threading errors before they happen.
>> Find and fix more than 250 security defects in the development cycle.
>> Locate bottlenecks in serial and parallel code that limit performance.
>> http://p.sf.net/sfu/intel-dev2devfeb
>> _______________________________________________
>> Geoserver-users mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>>
>>
>
>
> ------------------------------------------------------------------------------
> The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
> Pinpoint memory and threading errors before they happen.
> Find and fix more than 250 security defects in the development cycle.
> Locate bottlenecks in serial and parallel code that limit performance.
> http://p.sf.net/sfu/intel-dev2devfeb
> _______________________________________________
> Geoserver-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>
>
------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to