[OpenLayers-Users] Display maps in OL from mapserver

Christian López Espínola penyaskito at gmail.com
Tue May 6 03:10:09 EDT 2008


Hi Chen,

On Tue, May 6, 2008 at 8:31 AM, Chen kuja <eiclkun at gmail.com> wrote:
>             map = new OpenLayers.Map( 'map' );
>             layer = new OpenLayers.Layer.MapServer( "OpenLayers WMS",
>                      "http://127.1/cgi-bin/mapserv.exe?", { layers:
> 'Shp_Lakes',
>  map: 'map=/ms4w/apps/map.map'} );
>             map.addLayer(layer);

Try with
>  map: '/ms4w/apps/map.map'} );
>             map.addLayer(layer);


-- 
Regards,

Christian López Espínola


More information about the Users mailing list