[OpenLayers-Users] The code that I forgot ^^
Clemiou
clems_mars at hotmail.com
Tue Apr 15 04:00:13 EDT 2008
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
More information about the Users
mailing list