2009/9/17 Mario Nuñez Jimenez <[email protected]>:
> Hello list,
>
> I am trying to get loaded 2 layers, one wms and another wfs but always fails
> and I don’t know why.
>
> This is the example code “WFS: United States (GeoServer)” taken from
> http://openlayers.org/dev/examples/ where only I changed the path to .js,
> .cgi or .css files.
>
> It does not works, the wms layer is failing but also the wfs layer… any idea
> of what I am doing wrongly?
>
> Thank you in advance.
>
>
>
> <html xmlns="http://www.w3.org/1999/xhtml";>
>
>   <head>
>
>     <link rel="stylesheet" href="OpenLayers-2.8/theme/default/style.css"
> type="text/css" />
>
>     <link rel="stylesheet" href="OpenLayers-2.8/examples/style.css"
> type="text/css" />
>
>     <title>WFS: United States (GeoServer)</title>
>
>     <script src="OpenLayers-2.8/OpenLayers.js"></script>
>
>     <script type="text/javascript">
>
>         var map, layer;
>
..

are you even loading the OpenLayers.js library properly? The above
path is relative to your URL... is that where you have OpenLayers
stored?

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

Reply via email to