On Sun, Mar 30, 2008 at 07:40:49PM -0700, ITBeyond wrote:
>
> I have been trying various options on this for ages when I set isBaseLayer
> true the projection is used in the WMS query (from the projection: option
> and not the WMS params SRS), if I set isBaseLayer true the projection
> function is ignored. The parameter SRS in the WMS params field never seems
> to work.
That is correct. OpenLayers takes the projection from the Map
'projection' parameter:
m = new OpenLayers.Map("map", {projection:"SRS:4283"});
m.addLayer(new OpenLayers.Layer.WMS(..., {isBaseLayer: false});
Regards,
--
Christopher Schmidt
MetaCarta
_______________________________________________
Users mailing list
[email protected]
http://openlayers.org/mailman/listinfo/users