Hallo, First of all: I try to add two same layers from one server, first as OpenLayer.Layer.MapServer and second as OpenLayers.Layer.WMS, but their projection appears different:
var bnmapserv = new OpenLayers.Layer.MapServer.Untiled(
"TopoHelp ČR (MapServer)",
"http://www.bnhelp.cz/cgi-bin/crtopo", {layers:
'doprava kraje',transparent:true, map_imagetype:"gif",srs:"epsg:4326"},
{buffer: 1, gutter: 0,isBaseLayer: false, opacity:
0.5});
var bntopo = new OpenLayers.Layer.WMS(
'TopoHelp ČR (WMS)',"http://bnhelp.netart.cz/cgi-bin/crtopo",
{layers: 'kraje,les,sidla,voda,doprava', format:
'image/png',transparent:true },
{buffer: 1, gutter:0, visibility:false} );
Resulting example is on
http://www.bnhelp.cz/mapserv/pokusy/openlayers/digitalizace/
How I'm supposed to set MapServer/OpenLayers so that both maps do appear
in the same way?
Second question is: how to get transparent OpenLayers.Layer.MapServer ?
Thanks a lot
Jachym
--
Jachym Cepicky
e-mail: [EMAIL PROTECTED]
URL: http://les-ejk.cz
GPG: http://www.les-ejk.cz/pgp/jachym_cepicky-gpg.pub
signature.asc
Description: Toto je digitálně podepsaná část zprávy
_______________________________________________ Users mailing list [email protected] http://openlayers.org/mailman/listinfo/users
