it's not clear from your sample code if you passing in a lat lon and zoom?

if that's missing openlayers doesn't know what to display and you
don't get a map

installing firebug for firefox is really useful to debug any problem
you might be having,
as is livehttpheaders

z

On Tue, Apr 15, 2008 at 6:07 PM, Kusum <[EMAIL PROTECTED]> wrote:
> &zoomsize=2&zoomdir=1&program=%2Fcgi-bin%2Fmapserv.exe&map_web_imagepath=D:/ms4w/apps/maplab-2.2/workshop/tmp/&map_web_imageurl=../tmp/"
>
>  add these parameters to layer path....
>
>  --------------------------------------------------
>  From: "Clemiou" <[EMAIL PROTECTED]>
>  Sent: Tuesday, April 15, 2008 1:30 PM
>  To: <[email protected]>
>  Subject: [OpenLayers-Users] The code that I forgot ^^
>
>
>
>  >
>  > Excuse but my mail box doesn't like the HTML code :)
>  >
>  > Sincerely yours
>  > Clement
>  >
>  >
>  >
>  >        function init()
>  >        {
>  >            map = new OpenLayers.Map( 'map' );
>  >            layer = new OpenLayers.Layer.MapServer( "OpenLayers WMS",
>  >
>  > 
> "http://localhost/cgi-bin/mapserv?map=/var/www/html/ms/map_files/france.map";,
>  > {layers: 'FRANCE'},
>  >                    {gutter: 1});
>  >            map.addLayer(layer);
>  >
>  >            map.setCenter(new OpenLayers.LonLat(lon, lat), zoom);
>  >            map.addControl( new OpenLayers.Control.LayerSwitcher() );
>  >        }
>  >
>  >
>  > _________________________________________________________________
>  > Avec Hotmail, vos e-mails vous suivent partout ! Mettez Hotmail sur votre
>  > mobile !
>  > http://www.messengersurvotremobile.com/?d=hotmail
>  > _______________________________________________
>  > Users mailing list
>  > [email protected]
>  > http://openlayers.org/mailman/listinfo/users
>
>
>  _______________________________________________
>  Users mailing list
>  [email protected]
>  http://openlayers.org/mailman/listinfo/users
>



-- 
Zac Spitzer -
http://zacster.blogspot.com (My Blog)
+61 405 847 168
_______________________________________________
Users mailing list
[email protected]
http://openlayers.org/mailman/listinfo/users

Reply via email to