[OpenLayers-Users] How to change this layers.apServer to layer.WMS

Asle Benoni asle.benoni at gmail.com
Sun Apr 5 15:58:06 EDT 2009


Hello,
I am running this on MapServer but how do I use this layer as a
*"OpenLayers.Layer.WMS(....
"*

var layer = new OpenLayers.Layer.MapServer( "Østfoldkart",
       "http://naturkart.no/cgi-bin/mapserv", {map:
'/Library/WebServer/Documents/Naturkart/kulturminnekart/apps/demo/shapeostfold.map'},
       {gutter:15} );

/asle
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/openlayers-users/attachments/20090405/a413a808/attachment.html


More information about the Users mailing list