[OpenLayers-Users] The code that I forgot ^^
Kusum
kusum at infobase.in
Tue Apr 15 04:07:05 EDT 2008
&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" <clems_mars at hotmail.com>
Sent: Tuesday, April 15, 2008 1:30 PM
To: <users at openlayers.org>
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
> Users at openlayers.org
> http://openlayers.org/mailman/listinfo/users
More information about the Users
mailing list